Commit Graph

399660 Commits

Author SHA1 Message Date
Samuel Mehrbrodt
9f36f90b61 Use an own config setting for screenshot mode instead of experimental mode
This is not an experimental feature and it should be possible to enable it
without enabling other features.

Change-Id: Idbdce23d0db2983a4eb1c8e1d02d15c43733f042
Reviewed-on: https://gerrit.libreoffice.org/30848
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-16 22:46:39 +00:00
Caolán McNamara
567580bddf Resolves: tdf#92776 tab names unreadable under Ambiance theme 3.20
thanks Benjamin

Change-Id: I7ea0f6c8a8b8b35f864036844f1dc786e1f6bda8
Reviewed-on: https://gerrit.libreoffice.org/30910
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-11-16 21:15:54 +00:00
Eike Rathke
ce06e01f8b straighten weirdo exception message, inserting a comma and a blank helps..
Has ever been like that since
    commit 54bd83fe93
    Date:   Thu Oct 31 15:24:42 2002 +0000

Change-Id: Ifa52dc10458a91054675900a55c1eee14899d80d
2016-11-16 21:56:41 +01:00
Tor Lillqvist
73302ce8b8 Exit GLyphy
Change-Id: Ib84e703d4c1528d022435c7695c97a3fc284563a
2016-11-16 21:32:03 +02:00
Eike Rathke
2a91304bdd remove anything svHybridValueCell related, it's nowhere set anymore
Change-Id: I9887d7ca83ffc012fec1a78ef9ef537d2188a7e3
2016-11-16 19:24:33 +01:00
Stephan Bergmann
884e929641 loplugin:vclwidgets
Change-Id: Ia828755baa2c244cb23dc92202c1f9ed2448fe31
2016-11-16 19:18:15 +01:00
Eike Rathke
83cbbc6d66 tdf#96475 restore the EmptyDisplayedAsString condition during load
So also "empty" result cells with a number format applied are displayed empty,
instead of 1899-12-30 for example.

Change-Id: I5280d0213b8a809a04c5cb152ded58028706493a
2016-11-16 18:24:00 +01:00
Stephan Bergmann
ed5a8df72a Demonstrate that (extension) .xcu can contain <item> with nested <node>s
This sprang from an IRC conversation with uniscript about allowing .xcd in
extensions, so that an extension with (localization) data for many packages
would not need one .xcu file per package, but rather only a single file.  That
is possible with a single .xcu file using the <item> syntax, as shown here.  (I
had thought that originally only registrymodifications.xcu supported the <item>
syntax, but can't find any traces of that; so looks like an extension with an
.xcu file using <item> syntax should be supported by OOo and derivates "since
ages".)

Change-Id: I1101793e6b14ba9c1e7647edab76927d4d31a81c
2016-11-16 17:01:06 +01:00
Miklos Vajna
2a5e7c6e59 vcl PDF sign: write ESSCertIDv2.hashAlgorithm/certHash
With this, the value of signing-certificate conforms to the RFC.

Change-Id: I27595068be46651efcbf0bd63fc51f79c6e18b4f
Reviewed-on: https://gerrit.libreoffice.org/30907
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-11-16 15:54:51 +00:00
Miklos Vajna
ece5862b5d xmlsecurity: fix alignment for XAdES checkbox
And rename it to AdES, as the PDF PAdES generation will be affected by
this checkbox in the near future.

Change-Id: I06121e4eb9debac7a55a737a71780c2fa5c4d084
Reviewed-on: https://gerrit.libreoffice.org/30908
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Tor Lillqvist <tml@collabora.com>
2016-11-16 15:52:16 +00:00
Tor Lillqvist
f3c42669a5 Nothing from <tools/debug.hxx> used here
Change-Id: Ic7aa466c62eb8850d3c6b50c0e10b0575bd9b82e
2016-11-16 16:43:57 +02:00
Miklos Vajna
96acbb9386 vcl PDF sign: initial ESSCertIDv2
Towards writing the complete signing-certificate value.

Change-Id: I0c7f3ddf863f944cc9e763beaf7d92e631dbcd4b
2016-11-16 15:41:20 +01:00
Christian Lohmaier
5cbaf0504f bump gradle plugin, build-tools and support lib versions
Change-Id: I94036432e23b2d73b6e2006ed49f9890ae11aa05
2016-11-16 15:07:04 +01:00
Caolán McNamara
739c9780f0 Related: lp#1580537 tdf#103915 don't set toolbars as primary
because under Ambiance there are dark primary toolbars and light panels and
currently we can only render the same icons in the same colors on each.

Breeze was explicitly selected as the default icon set to use under unity
in

commit c0da1080b6
Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
Date:   Sat Feb 27 14:30:01 2016 +0100

    lp#1506544 tdf#92458: default to breeze theme on unity desktops

    Change-Id: I1e0e10d1561e32c5904e0e7352e914bb62b85363

and the downstream workaround of lp#1580537 for this problem is to turn
libreoffice toolbars light.

glade has toolbar and a panel, both of them are light, so best solution
I can see is to remove the primary class from our toolbars.

Change-Id: I2f94ff52d56af1806e2b80b97e4ae2c4c82ae57e
2016-11-16 13:52:41 +00:00
Stephan Bergmann
f7dea2d295 Avoid use after free from within StatusBar::dispose
Valgrind reveals that in Writer doing "Table - Insert Table... - Insert" (so the
table-related toolbar appears at the bottom of the document window), then "File
- Exit LibreOffice - Don't Save" causes

> Invalid read of size 8
>    at 0xE87CA6C: std::__cxx1998::vector<ImplStatusItem*, std::allocator<ImplStatusItem*> >::size() const (/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../include/c++/6.2.1/bits/stl_vector.h:656)
>    by 0xE87B09F: StatusBar::GetItemCount() const (/vcl/source/window/status.cxx:1019)
>    by 0x75248D91: VCLXAccessibleStatusBar::VCLXAccessibleStatusBar(VCLXWindow*) (/accessibility/source/standard/vclxaccessiblestatusbar.cxx:43)
>    by 0x75201C37: (anonymous namespace)::AccessibleFactory::createAccessibleContext(VCLXWindow*) (/accessibility/source/helper/acc_factory.cxx:312)
>    by 0xD27B191: VCLXWindow::CreateAccessibleContext() (/toolkit/source/awt/vclxwindow.cxx:862)
>    by 0xD2862AC: VCLXWindow::getAccessibleContext() (/toolkit/source/awt/vclxwindow.cxx:2375)
>    by 0xD2864AF: non-virtual thunk to VCLXWindow::getAccessibleContext() (/toolkit/source/awt/vclxwindow.cxx:0)
>    by 0x2A5CF0CD: AtkListener::handleChildRemoved(com::sun::uno::Reference<com::sun::accessibility::XAccessibleContext> const&, com::sun::uno::Reference<com::sun::accessibility::XAccessible> const&) (/vcl/unx/gtk3/a11y/../../gtk/a11y/atklistener.cxx:200)
>    by 0x2A5CF646: AtkListener::notifyEvent(com::sun::accessibility::AccessibleEventObject const&) (/vcl/unx/gtk3/a11y/../../gtk/a11y/atklistener.cxx:301)
>    by 0x77D6DB7: comphelper::AccessibleEventNotifier::addEvent(unsigned int, com::sun::accessibility::AccessibleEventObject const&) (/comphelper/source/misc/accessibleeventnotifier.cxx:277)
>    by 0x77D4219: comphelper::OAccessibleContextHelper::NotifyAccessibleEvent(short, com::sun::uno::Any const&, com::sun::uno::Any const&) (/comphelper/source/misc/accessiblecontexthelper.cxx:186)
>    by 0xD1FB887: VCLXAccessibleComponent::ProcessWindowEvent(VclWindowEvent const&) (/toolkit/source/awt/vclxaccessiblecomponent.cxx:210)
>    by 0xD1FAEC0: VCLXAccessibleComponent::WindowEventListener(VclWindowEvent&) (/toolkit/source/awt/vclxaccessiblecomponent.cxx:125)
>    by 0xD1F9C87: VCLXAccessibleComponent::LinkStubWindowEventListener(void*, VclWindowEvent&) (/toolkit/source/awt/vclxaccessiblecomponent.cxx:114)
>    by 0xE797CD7: Link<VclWindowEvent&, void>::Call(VclWindowEvent&) const (/include/tools/link.hxx:84)
>    by 0xE794189: vcl::Window::CallEventListeners(unsigned long, void*) (/vcl/source/window/event.cxx:240)
>    by 0xE8EDC9F: vcl::Window::dispose() (/vcl/source/window/window.cxx:172)
>    by 0xE875B9B: StatusBar::dispose() (/vcl/source/window/status.cxx:170)
>    by 0xEAD71EE: VclReferenceBase::disposeOnce() (/vcl/source/outdev/vclreferencebase.cxx:42)
>    by 0x3AA25A76: VclPtr<StatusBar>::disposeAndClear() (/include/vcl/vclptr.hxx:231)
>    by 0x3AC1CF0D: framework::StatusBarManager::dispose() (/framework/source/uielement/statusbarmanager.cxx:202)
>    by 0x3AC2936D: framework::StatusBarWrapper::dispose() (/framework/source/uielement/statusbarwrapper.cxx:75)
>    by 0x3AA4F246: framework::LayoutManager::implts_destroyStatusBar() (/framework/source/layoutmanager/layoutmanager.cxx:840)
>    by 0x3AA4EF68: framework::LayoutManager::implts_destroyElements() (/framework/source/layoutmanager/layoutmanager.cxx:443)
>    by 0x3AA4ED7E: framework::LayoutManager::implts_reset(bool) (/framework/source/layoutmanager/layoutmanager.cxx:412)
>    by 0x3AA5E683: framework::LayoutManager::frameAction(com::sun::frame::FrameActionEvent const&) (/framework/source/layoutmanager/layoutmanager.cxx:2814)
>    by 0x3AB0A30C: (anonymous namespace)::Frame::implts_sendFrameActionEvent(com::sun::frame::FrameAction const&) (/framework/source/services/frame.cxx:3110)
>    by 0x3AB0299D: (anonymous namespace)::Frame::setComponent(com::sun::uno::Reference<com::sun::awt::XWindow> const&, com::sun::uno::Reference<com::sun::frame::XController> const&) (/framework/source/services/frame.cxx:1557)
>    by 0x3AB055AB: (anonymous namespace)::Frame::close(unsigned char) (/framework/source/services/frame.cxx:1801)
>    by 0x3AAF1DC4: framework::Desktop::impl_closeFrames(bool) (/framework/source/services/desktop.cxx:1698)
>    by 0x3AAF132A: framework::Desktop::terminate() (/framework/source/services/desktop.cxx:230)
>    by 0x3A9D71CA: framework::CloseDispatcher::implts_terminateApplication() (/framework/source/dispatch/closedispatcher.cxx:562)
>    by 0x3A9D632C: framework::CloseDispatcher::impl_asyncCallback(LinkParamNone*) (/framework/source/dispatch/closedispatcher.cxx:410)
>    by 0x3A9D49D7: framework::CloseDispatcher::LinkStubimpl_asyncCallback(void*, LinkParamNone*) (/framework/source/dispatch/closedispatcher.cxx:254)
>    by 0xE9B4BE7: Link<LinkParamNone*, void>::Call(LinkParamNone*) const (/include/tools/link.hxx:84)
>    by 0xEE027A7: vcl::EventPoster::DoEvent_Impl(void*) (/vcl/source/helper/evntpost.cxx:52)
>    by 0xEE02767: vcl::EventPoster::LinkStubDoEvent_Impl(void*, void*) (/vcl/source/helper/evntpost.cxx:48)
>    by 0xE91FC17: Link<void*, void>::Call(void*) const (/include/tools/link.hxx:84)
>    by 0xE91CE8B: ImplHandleUserEvent(ImplSVEvent*) (/vcl/source/window/winproc.cxx:1957)
>    by 0xE91A33F: ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) (/vcl/source/window/winproc.cxx:2507)
>    by 0xEFEA88D: SalFrame::CallCallback(SalEvent, void const*) const (/vcl/inc/salframe.hxx:276)
>    by 0xEFFF457: SalGenericDisplay::DispatchInternalEvent() (/vcl/unx/generic/app/gendisp.cxx:86)
>  Address 0x6ccc64b0 is 32 bytes inside a block of size 56 free'd
>    at 0x4C2D22A: operator delete(void*) (/builddir/build/BUILD/valgrind-3.11.0/coregrind/m_replacemalloc/vg_replace_malloc.c:576)
>    by 0xE875B47: StatusBar::dispose() (/vcl/source/window/status.cxx:165)

It looks rather pointless that StatusBar::dispose causes instantiation of a
VCLXAccessibleStatusBar, but not sure what would be the right level to fix this.
So work around it by making the pointlessly pointer mpItemList non-pointer, and
clearing it in StatusBar::dispose, so that a latter call to
StatusBar::GetItemCount returns 0 (which appears to be OK for the needs of that
zombie VCLXAccessibleStatusBar).

Change-Id: I1e982a335cb78e87a6c16633174bca76b59c6049
2016-11-16 13:57:29 +01:00
Takeshi Abe
5c49c13b7b tdf#101472 Prompt repaint of Elements window when mouse leaves
This also reduces some cycles in SmElementsControl::MouseMove().

Change-Id: I1dd5f9cd37e4a78010ebb719b4726f9b061d8ff2
Reviewed-on: https://gerrit.libreoffice.org/30897
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Tested-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-11-16 12:55:05 +00:00
Samuel Mehrbrodt
6e3ff896e7 Fix crash when opening ProfileExportedDialog
Change-Id: I9137cc2b925f67af6b6dc7106327de76c28c74ac
Reviewed-on: https://gerrit.libreoffice.org/30904
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-16 12:54:28 +00:00
Katarina Behrens
7ac70669da screenshotannotation: Trim the textfield, add scrollbar
to prevent it from growing too large and thus distorting the dialog

Change-Id: Iaa27d3085ec314246565cae79ab7d627a94a3bff
Reviewed-on: https://gerrit.libreoffice.org/30898
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-11-16 12:36:58 +00:00
Noel Grandin
92da39d5f9 update couple of loplugins for move constructors
Change-Id: I82140569a3e09225065d721e4aeac5c5fe93bc45
2016-11-16 14:16:09 +02:00
Caolán McNamara
ac4f846335 gtk: under wayland tracking the window position is worthless
which isn't news, but...

with focus follows mouse enabled, activate filter menu of a calc autofilter.
Move the mouse around and enter the menu, menu pops down because there are
configure and mouse events which indicate that the position of the main
application window has "moved"

when LibreOffice detects the window has moved, it closes the windows
popups, so the menu disappears.

Change-Id: I2d1aa4a51153002c925e2dde4402da2d84e52de5
2016-11-16 12:01:59 +00:00
Eike Rathke
87d2c012ef tdf#96475 PasteSpecial EmptyDisplayedAsString as empty
Deactivating the assert in fillSortedColumnArray() was necessary for the bug's
Paste Special and Sort scenario, but actually the assert could had been hit
also earlier if some cell values were not pasted / skipped and Sort was invoked
after that.

Change-Id: I7b08bfb4104f4c7eb30815944bc87eec79a87334
2016-11-16 12:24:05 +01:00
Stephan Bergmann
8c976b4544 loplugin:staticanonymous
Change-Id: I074e464996070ac3f20d27a66a5f0246ede45c79
2016-11-16 12:00:25 +01:00
Mike Kaganski
722ea624fd Small housekeeping: merged two if's with same result into one
Change-Id: I63e038173338055b5b4003e1a6040b8680b8bbd6
Reviewed-on: https://gerrit.libreoffice.org/30901
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2016-11-16 10:29:15 +00:00
Miklos Vajna
e06bacfc53 sw: remove redundant initializer for members in rtfexport
Change-Id: I004ebe3bd214a7c35a286f10bb13aef6900f0f87
Reviewed-on: https://gerrit.libreoffice.org/30896
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-11-16 10:22:50 +00:00
Caolán McNamara
09972f971e gtk3: problems with gdk_drag_status under wayland
under wayland, the value selected by gdk_drag_status is not immediately
available via gdk_drag_context_get_selected_action, so use the value
we set on it, not the value it claims to have

pull common code together as getPreferredDragAction

Change-Id: I4d95c4b8183505f2203ad1a8f6947df983ce8d21
2016-11-16 10:19:30 +00:00
Stephan Bergmann
1034ee0c09 Reduce noise for irrelevant warnings somewhat
...other options to avoid such irrelevant warnings can be to move code to an
include file and/or to define a dummy main() accessing otherwise unreferenced
entities.

Change-Id: Ifd44e376b35ef68496f3aba6a3c046d684824000
2016-11-16 11:10:39 +01:00
Katarina Behrens
2a83720fd1 screenshotannotation: Fix bookmark snippets
Change-Id: I245000b48775955dcf72f362829df7594e8b637b
Reviewed-on: https://gerrit.libreoffice.org/30880
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-11-16 09:26:52 +00:00
Noel Grandin
72ffa98e89 make the element names in dumpAsXml match the class names
Change-Id: I955facfe3e901fcb76798dab342f96a67d5ac63f
Reviewed-on: https://gerrit.libreoffice.org/30894
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-16 09:20:59 +00:00
Noel Grandin
7cca2c7fb3 new loplugin finalprotected
look for final classes, and make sure they don't have protected members

Change-Id: I1fa810659bba02b61a5160dbfd8e24185ec9abf4
Reviewed-on: https://gerrit.libreoffice.org/30895
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-16 09:10:16 +00:00
Noel Grandin
3c73942c8c loplugin:countusersofdefaultparams in include/svx..unotools
Change-Id: I02e933da66241e99e3b81d90d679f1502bab3fef
Reviewed-on: https://gerrit.libreoffice.org/30866
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-16 06:32:00 +00:00
Chamal
121a202076 tdf#92346 - Copy functionality in the viewer
Reference class added to
desktop/source/lib/lokandroid.cxx
for Java_org_libreoffice_kit_Document_getTextSelection()

Change-Id: I211d5709df39fd9fafdab9232af760613f6b86c0
Reviewed-on: https://gerrit.libreoffice.org/29804
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-11-16 06:16:17 +00:00
Kohei Yoshida
c3f9953202 Let's keep these guys private.
Change-Id: I196c9c2b24f94ac66bb200fea561bdc5ccc679e5
2016-11-16 00:04:57 -05:00
Kohei Yoshida
e4e208fa2b tdf#71409: properly remove itself from the context it listens.
When the context itself is being disposed.  While this solves the
issue of addAccessibleEventListener() being called twice despite
removeAccessibleEventListener() being called only once, it won't
solve the problem of leaky atk focus events.

Change-Id: I984107ed2d30e6dba8067d11f400ff64d665d157
2016-11-15 22:04:49 -05:00
Khaled Hosny
84f644eee7 tdf#103784: Shift the upright glyphs like old code
It turns out we actually need the horizontal shift, so re-enable it.

Change-Id: If9d16276f0f56b518c6bedc2fcbbd3d8746d8d5d
2016-11-16 01:05:35 +02:00
Khaled Hosny
26ac0e16f8 Fix thinko in previous commit
Negative descender means the glyph is above the baseline and no shift
should happen.

Change-Id: I0ee3575051e47f16c64db4e85c0b8a390029567f
2016-11-16 01:04:46 +02:00
Eike Rathke
c482036671 tdf#96475 PutFormulaCell: any other cell than formula is utter nonsense
This is called only if a cell has the table:formula attribute and that *is* a
formula cell and nothing else. In fact in ODFF the initial leading '=' is not
mandatory, so attempting to set a different cell type if it is not present is
wrong.

Commit 62ec7f9e82 introduced that, which at that
time may have been necessary, but doubtful..

Additionally, ScFormulaCell::CompileXML() that tries to group formulas had to
be adpated to not rely on the presence of a leading '='. Luckily there was an
assert..

These changes enable loading of "error cell" formulas that were stored without
a leading '=' if they originated from a paste special with only values, which
maintains an error result as error formula.

Change-Id: I43394de108066a24b792eec958b19f51f990403b
2016-11-15 23:51:55 +01:00
Eike Rathke
c802fb2436 tdf#96475 sort error result between text and empty cell
Error results weren't handled at all and sorted same as numeric 0, which
due to "stable sort" resulted in arbitrary looking sort order if 0
values or results where included.

Change-Id: Ib7c516b57ea92bc5b813f448d9c2bb5491e43940
2016-11-15 23:51:55 +01:00
Zdeněk Crhonek
50d1373b5b add REPT test case
Change-Id: Ieae4e6606fad89611819f1a736139091e44977a3
Reviewed-on: https://gerrit.libreoffice.org/30879
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-15 22:15:27 +00:00
Muhammet Kara
88f31af748 tdf#103146 Revamp Extension Manager Dialog, Part 2
Move the "Remove" button which was customly implemented
from the ExtBoxWithBtns_Impl to the new row. This should
also solve some accessibility issues.

Also wipe some useless code which implements custom
tab behavior.

Change-Id: I602fcf23631498145d8b9ead2936ee549caf3f0d
Reviewed-on: https://gerrit.libreoffice.org/30867
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-15 21:46:03 +00:00
Katarina Behrens
81f6384a50 screenshotannotation: include image size in XML markup
Change-Id: I1c02055280b929ddd3ad12e6f6562c95bfe2a48a
Reviewed-on: https://gerrit.libreoffice.org/30870
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-11-15 20:08:49 +00:00
Khaled Hosny
ff08ee6ab2 tdf#103785: Correctly position vertical glyphs
Change-Id: Ibd0ae230f54ada55a26d24ea865e7b93070ce2a0
2016-11-15 21:52:15 +02:00
Tor Lillqvist
087705c72d Add the Target for xd:QualifyingProperties
Change-Id: Ic15c34c77ff24a506b59ed02db3cfbb6722d0f25
2016-11-15 21:13:13 +02:00
Tor Lillqvist
108b0a5e37 Sign also the xd:SignedProperties
Change-Id: If5793cd8a721ac5b4fce5280b6180f2827c72501
2016-11-15 21:13:04 +02:00
David Tardon
34ba29887f replace explicit delete and simplify
Change-Id: I750a965195aef32b29bb98725fd1c74c876b051d
2016-11-15 19:58:55 +01:00
David Tardon
0d97ac5ae3 fix typo
Change-Id: I2dd093a12518c2c23d9f1610fb8a4b45a94656ab
2016-11-15 19:58:55 +01:00
David Tardon
4ead110a8c remove prop. name variable
It is not used consistently anyway.

Change-Id: Ia842668dfb36dc2a8fbf3b938758b81c78d5c868
2016-11-15 19:58:54 +01:00
Miklos Vajna
8397ce996c vcl PDF sign: add initial 'signing-certificate' signed attribute
Page 10 of "PAdES Basic" specification from
<http://www.etsi.org/deliver/etsi_ts%5C102700_102799%5C10277802%5C01.02.01_60%5Cts_10277802v010201p.pdf>
says:

"At minimum, it [the signature] shall include the signer's X.509 signing
certificate."

This adds the signed attribute, but it's disabled by default as the
value is just an empty sequence at the moment.

Change-Id: Icda96f63618b08fadcb411204e132fe88d5f7d1d
Reviewed-on: https://gerrit.libreoffice.org/30877
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-11-15 18:06:19 +00:00
Caolán McNamara
21005d0ded fix build of kde3 addressbook
Change-Id: I109f6ff9ca35792d3337bac2a6612ba12d2272fd
2016-11-15 16:34:51 +00:00
Stephan Bergmann
40c44ed643 Replace some trivial Sfx*Item derivations with make* functions
...as the trivial derivations (used to offer "convenience ctors") didn't
override Clone(), so -fsanitize=vptr would cause warnings like

> sd/source/ui/dlg/layeroptionsdlg.cxx:42:26: runtime error: downcast of address 0x603001dff830 which does not point to an object of type 'const SdAttrLayerName'
> 0x603001dff830: note: object is of type 'SfxStringItem'
>  61 05 80 1e  70 d6 f7 22 67 7f 00 00  01 00 00 00 4e 6e 00 be  60 f8 df 01 30 60 00 00  02 00 00 00
>               ^~~~~~~~~~~~~~~~~~~~~~~
>               vptr for 'SfxStringItem'
>     #0 0x7f66931db4b0 in SdInsertLayerDlg::SdInsertLayerDlg(vcl::Window*, SfxItemSet const&, bool, rtl::OUString const&) sd/source/ui/dlg/layeroptionsdlg.cxx:42:26

when doing "Insert - Layer..." in Draw.

Change-Id: I54ade09027daecc8bbf6f4789a8b5318bbe8d22d
2016-11-15 16:47:02 +01:00
Khaled Hosny
d436065bc1 tdf#103725: Default to GDI even with the new layout engine
It seems that our DirectWrite integration is missing few key features,
so back to GDI so at least people who need these feature can have away
to make them work.

So the situation is now with the new layout engine is like the old one;
GDI when OpenGL is not use and DirectWrite when OpenGL is used.

Fixing DirectWrite is now someone else’s problem.

Should also fix tdf#100986.

Change-Id: I102cac8a324f77b050d5183911b5cfda0b6b8f2b
Reviewed-on: https://gerrit.libreoffice.org/30868
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
2016-11-15 15:37:11 +00:00