summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2014-10-08coverity#706283 Uncaught exceptionCaolán McNamara1-0/+1
Change-Id: I2c3f10894ffe514dbc71cd1dd672685aa8f09a0d
2014-10-08fdo#75757: remove inheritance to std::vectorTakeshi Abe1-6/+2
from SvxMSDffShapeOrders. Change-Id: Idf551f1fbde907759d6a296141e2837264dbbb10 Reviewed-on: https://gerrit.libreoffice.org/11840 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-08fdo#75757: remove inheritance to std::mapTakeshi Abe1-2/+11
from ItemFormatMap. Change-Id: I956b5797e677d22eb71fe801b650db7c982d6d51 Reviewed-on: https://gerrit.libreoffice.org/11854 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-08spelling: instanciated -> instantiatedNoel Grandin4-4/+4
Change-Id: I99f3010e30f81786b938dc11736ea1597cd5530d
2014-10-07Resolves: fdo#44998 crash when opening context menu of a fieldCaolán McNamara3-0/+9
If you right click on a field in an inactive text box, then a mouse down, context command, mouse up sequence is sent. The mouse up is supposed to be captured by the context menu here. But it doesn't because the mouse down in draw sends an artificial mouse down to the editengine which eventually sets up a MouseCapture window so the context menu doesn't get considered (because it occurs before the capture window is released) so the mouse up gets send to sd while the context menu is up and that causes all sorts of havoc. Change-Id: If3b7c501586f8561be484d0828c630d84644f770
2014-10-07disambiguate uniform_int_distributionCaolán McNamara1-6/+2
Change-Id: Ifa0c1b1983d1cc7f22d55b15dee88b7f709dbcf8
2014-10-06Remove pointless commented-out 'virtual' keywordsTor Lillqvist4-9/+7
Nobody knows any more what such a metacomment was supposed to mean, if it had any deeper meaning at all. Change-Id: Iefb4fedc7b833c09ee0e39b3eb28202229323ef2
2014-10-06when size_t == unsigned intCaolán McNamara1-0/+4
Change-Id: If8cd3632d69f6456b0e1351efac0e428e0093e3b
2014-10-06fdo#75757: remove inheritance to std::vectorTakeshi Abe1-10/+15
from PptSlidePersistList. This also puts in assertions that every entry in a PptSlidePersistList is non-null. Cf. 9536a28ede89e8c29940e8ba225215a45667062c Change-Id: Iea35532ed668e58a3f02d3f3433a66c2d4e1fe2a Reviewed-on: https://gerrit.libreoffice.org/11807 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-10-06use comphelper::rng::uniform_*_distribution everywhereCaolán McNamara2-4/+19
and automatically seed from time on first use coverity#1242393 Don't call rand coverity#1242404 Don't call rand coverity#1242410 Don't call rand and additionally allow 0xFF as a value coverity#1242409 Don't call rand coverity#1242399 Don't call rand coverity#1242372 Don't call rand coverity#1242377 Don't call rand coverity#1242378 Don't call rand coverity#1242379 Don't call rand coverity#1242382 Don't call rand coverity#1242383 Don't call rand coverity#1242402 Don't call rand coverity#1242397 Don't call rand coverity#1242390 Don't call rand coverity#1242389 Don't call rand coverity#1242388 Don't call rand coverity#1242386 Don't call rand coverity#1242384 Don't call rand coverity#1242394 Don't call rand Change-Id: I241feab9cb370e091fd6ccaba2af941eb95bc7cf
2014-10-06Remove unused macrosStephan Bergmann1-150/+0
Change-Id: Id76b285d70acb4de3ab27dbf2f0f0bb4b46735c7
2014-10-06fdo#73151 Always open Styles&Formatting dialog in the sidebarSamuel Mehrbrodt2-11/+0
Change-Id: I05b63dc00023945d92fd837bd64042135d3f9aed Reviewed-on: https://gerrit.libreoffice.org/11648 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-10-06loplugin: cstylecastNoel Grandin8-25/+96
Change-Id: Id2b5b2510fb13f77592d7a0455f34ccd8a20c2d7
2014-10-06loplugin: cstylecastNoel Grandin4-51/+52
Change-Id: I88a106081b7413bff6313d1e07f53e39d8350002
2014-10-06error: 'UCS4' does not name a typeMiklos Vajna1-1/+1
Change-Id: I5f3c5d55d04747c15cdf8aa34b27ceb0cc3f3a92
2014-10-06vcl: document FontCharMap classChris Sherlock1-6/+79
Change-Id: I3020c0979ff8ab6b9e959f32d25af9f51857d821
2014-10-06vcl: FontCharMap to use intrusive_ptr ImplFontCharMapChris Sherlock1-2/+6
ImplFontCharMap was using it's own reference counting mechanism, however we can use intrusive_ptr more effectively. Added a unit test around FontCharMap. Change-Id: Ifab6ce002fd1df8feb7e017dea3012ff9ea7f18a Reviewed-on: https://gerrit.libreoffice.org/11804 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-10-04vcl: tab cleanup of metric.hxxChris Sherlock1-12/+12
Change-Id: I7d168f89fc8cb1b5b85c78e260a9ed786a437265
2014-10-03Make these methods non-inline again.Kohei Yoshida1-8/+8
Change-Id: I30c7969ab386f4cba2f0b44cbebe306ce6430b15
2014-10-03loplugin: cstylecastNoel Grandin2-8/+8
Change-Id: I011a0eae37d01606d28c00f8ab3839f20bf309ce
2014-10-03rename SvRef::AddRef to AddFirstRefNoel Grandin1-3/+3
to make it's intended purpose clearly distinguishable from AddNextRef Change-Id: I5da780b48b19fd873667b648031bc394113f953b Reviewed-on: https://gerrit.libreoffice.org/11763 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-02Bin EE_CNTRL_URLSFXEXECUTE which was only set, never testedTor Lillqvist1-1/+0
Change-Id: I18a9355bb902b19f0eeecb26d33eba4fb25db8cb
2014-10-02Bin commented-out #definesTor Lillqvist1-2/+0
Change-Id: I01f473658708a75c3eac6219efd38cd8ec5aa44f
2014-10-02MWERKS etc. are not supported toolchainsMichael Stahl1-5/+1
Change-Id: I449fe34be396114529357388c87162aaf8976292
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE check and macroMichael Stahl2-5/+3
This is supported in GCC 4.6.0 already: https://gcc.gnu.org/onlinedocs/gcc-4.6.0/gcc/Diagnostic-Pragmas.html Change-Id: I2f67e588eea3a323a2e9c81e39e56ab2e715a817
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY check and macroMichael Stahl2-3/+3
This has been supported by GCC and clang for a very long time. Change-Id: I410a2b39004c932003f8cbefe935aedb109b1163
2014-10-02coverity#1242909 Unused value and const things upCaolán McNamara1-3/+3
Change-Id: Ib98a81a04f721917ee3c1fdd19d23a37c5d2c481
2014-10-02optimise UNO Sequence destructorNoel Grandin2-3/+20
to avoid expensive function calls until the refcount reaches 0 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, slightly changing it to add a uno_type_sequence_destroy to uno/sequence2.h instead of a uno_type_destructSequence to uno/data.h. Change-Id: I3bbff3294f2b515fc3c68c4c6c1cb16829f5cc44
2014-10-02coverity#708208 Uninitialized scalar fieldCaolán McNamara1-2/+6
Change-Id: I5f1e889746067bad478d8fa3acd8c41c893b135a
2014-10-02fix buildNoel Grandin1-4/+0
after commit 039b887c54fd7e8cd8a4964d1633fdfc300e938e "loplugin: cstylecast" Change-Id: If567653833a1f164a72bd9a5a6c0fcf651e9d3c0
2014-10-02loplugin: cstylecastNoel Grandin4-5/+10
Change-Id: I4a230f45e91773fca7d537e91c9e9fb54773cf10
2014-10-02Improved striped rows implementationSamuel Mehrbrodt2-6/+6
Some renaming, use variable for row background when not striped Change-Id: I5b36fc751aa163dbb127406d7aefad01974fa371
2014-10-01coverity#735489 constant guards dead codeCaolán McNamara1-1/+0
Change-Id: I387dcfb34dd6f1fc74ed929cb6b2833ae8e0f574
2014-10-01coverity#1242662 unused memberCaolán McNamara1-1/+0
Change-Id: Ie089a4afabb07e3b119563dafb162da427bb635d
2014-10-01loplugin: cstylecastNoel Grandin1-2/+2
Change-Id: I25b82a96aace448a8debe90c181b22976ea95414
2014-10-01loplugin: cstylecastNoel Grandin1-1/+1
Change-Id: I6ea98852ba775d85ccd54823b67224ea7f587c65
2014-10-01loplugin: cstylecastNoel Grandin2-4/+4
Change-Id: I58582059495f7c50880038e2174ea2de026aa1c9
2014-10-01fdo#82577: Handle KeyPressNoel Grandin1-8/+0
It appears that this became unnecessary at some point Change-Id: Iee7c09d00f8dee79f51f0a93b8f5f16137c9c626
2014-10-01fdo#82577: Handle IconNoel Grandin2-8/+0
It appears that this became unnecessary at some point Change-Id: I6638d68d1c44162b4aa62224dc03c19c2413180e Reviewed-on: https://gerrit.libreoffice.org/11715 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-01fdo#82577: Handle TimeNoel Grandin13-68/+68
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-30Improve SvTreeListBox classPalenik Mihály3-0/+14
It is possible to set alternating rows. Expert Configuration dialog use it. Change-Id: Ie43a87ca05be73fdb345fa4866f31c2c36b7cdf1 Reviewed-on: https://gerrit.libreoffice.org/11663 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-30fdo#62081 Improve split menu on style dropdownSamuel Mehrbrodt2-2/+3
* Remove "Apply style" * Add "Update Style Based on Selection" * A11y: * Context menu key: Open submenu * Return key: Apply style Change-Id: Ib2960baa1412a05ea00b0e214d1af0a3d119e852
2014-09-30clean up some weird type-casting in SvxRTFParserNoel Grandin1-13/+6
...it was casting between a std::vector and a struct. Just store the struct. Change-Id: I37afa2ea27aa45d0849e01b45837129719eaf138 Reviewed-on: https://gerrit.libreoffice.org/11705 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-30sc: std::auto_ptr -> std::unique_ptrStephan Bergmann1-0/+30
Change-Id: I25468d578de597ff9aeba3ffc850c630fa532767
2014-09-30Some glue for using std::unique_ptr with the Boost Pointer Container LibraryStephan Bergmann1-0/+31
Change-Id: Ie975e963ed64fb96542a9771f85eef72d8266496
2014-09-30vcl: use DBG_UTIL for additional members in SolarMutexTryAndBuyGuardMichael Stahl1-4/+4
... for consistency, and to keep the ODR police away. Change-Id: Id4bf23be1e57cc29dfed9331d75034a33c2910f8
2014-09-30German comment translation.Florian Reisinger1-37/+29
Change-Id: I2a0691724e6cf0248f9b5854b824f0d6d52308ba
2014-09-30Factor out duplicated code to XmlTestTools::assertXPathNoAttribute()Miklos Vajna1-0/+4
Change-Id: I1eb3778e6bcdd8c44ffb9a7548add109331fc83b
2014-09-30fdo#82577: Handle PolyPolygonNoel Grandin45-148/+150
Put the TOOLS PolyPolygon class in the tools namespace. Avoids clash with the Windows PolyPolygon typedef. Change-Id: I811ecbb3d55ba4ce66e4555a8586f60fcd57fb66
2014-09-30fix TDE buildNoel Grandin1-1/+1
after commit 8dbde0845a3989528614addb9bd0333f60c522a5 "fdo#82577: Handle Region" Change-Id: I9c3d0ff72de1d3ff2e5c16cf12869e753ec10857