Noel Grandin
e57314f61f
return and use std::vector from OInterfaceContainerHelper
...
since most of the time we don’t need a heavyweight uno::Sequence.
Adds a new method getElementsAsVector().
Change-Id: I9e72bef0c0c723ffd0dd7d4152db5baec6784a7a
Reviewed-on: https://gerrit.libreoffice.org/15747
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-06-29 07:25:22 +00:00
Caolán McNamara
ad62165065
cppcheck: noExplicitConstructor
...
Change-Id: Ic33ee6936f40bec4f3a82aea39a180ae6e9a0928
2015-06-09 10:34:00 +01:00
Thomas Arnhold
530899ba18
cppuhelper: fix includes
...
Change-Id: I0e6bc822d19cf266dea716fe92f2ccd08d87c51f
2014-06-04 21:18:39 +02:00
Stephan Bergmann
fa0ffdbeb5
cppu::OMultiTypeInterfaceContainerHelperVar hashImpl param is unused
...
...since f059134fab
"INTEGRATION: CWS
cppuhelpshrink: #i72766# save memory in cppuhelper, using a vector instead of a
hash_map" (but a dummy "void" default is left in place for backwards
compatibility).
Change-Id: I3bb0af8158f34737d41c344464f3cf944e2891ed
2014-04-15 07:46:43 +02:00
Stephan Bergmann
70cc2b191b
First batch of adding SAL_OVERRRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
Stephan Bergmann
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Herbert Dürr
1857688e1f
Resolves: #i122208# introduce rtl::CStringHash and rtl::CStringEqual
...
unify the various c-string compares and hashes.
(cherry picked from commit b7e3470a154538a92f0a21b14e726d75723f4a92)
Conflicts:
oox/inc/oox/export/shapes.hxx
oox/source/export/shapes.cxx
sal/inc/rtl/string.hxx
sdext/source/minimizer/pppoptimizertoken.cxx
svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx
vcl/source/glyphs/gcach_ftyp.cxx
writerfilter/source/resourcemodel/TagLogger.cxx
xmloff/source/draw/EnhancedCustomShapeToken.cxx
Change-Id: Ib742744077bfb4d38a462d88b44bdef45601b4ae
2013-05-10 12:36:33 +01:00
Michael Meeks
9d7c1dcbbb
re-base on ALv2 code. Includes:
...
Patches contributed by Ocke Janssen
converted reportdesign.
http://svn.apache.org/viewvc?view=revision&revision=1396797
http://svn.apache.org/viewvc?view=revision&revision=1394326
Patch contributed by Oliver Rainer-Wittmann
sw34bf06: #i117783# - Writer's implementation of XPagePrintable -
apply print settings to new printing routines
http://svn.apache.org/viewvc?view=revision&revision=1172115
2012-12-06 09:12:57 +00:00
Michael Meeks
328e2263fb
targetted re-work of cppunit pieces.
2012-06-27 19:13:11 +01:00
Stephan Bergmann
d996328cd5
sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
...
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Wilhelm Pflueger
c372302f99
EasyHacks: Reanimated tests in ure/cppuhelper/qa.
...
I had to deactivate the test 'test_weak.cxx' in prj/build.lst.
This test failed with 'error 139' - this is typically a segfault
during test execution, oops.
2011-03-15 08:52:39 +01:00
Julien Nabet
c34bae9706
Some cppcheck cleaning
2011-01-12 12:54:06 +00:00
Sebastian Spaeth
a715e1b3d0
Add vim/emacs modelines to all source files
...
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com )
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de >
2010-10-14 17:04:31 +02:00
Jens-Heiner Rechtien
7c80db2eb3
changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2010-02-12 15:01:35 +01:00
Mathias Bauer
6ea0304b45
#i103496#: split cppunit in a pure external lib and a lib depending on sal -> testshl2
2009-09-14 19:06:55 +02:00
Rüdiger Timm
5f0b906b06
INTEGRATION: CWS changefileheader (1.2.56); FILE MERGED
...
2008/03/28 15:25:23 rt 1.2.56.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:26:32 +00:00
Rüdiger Timm
94a3ea6b9c
INTEGRATION: CWS cppuhelpshrink (1.1.2); FILE ADDED
...
2007/01/22 20:33:48 mmeeks 1.1.2.4: Issue number: i#72766#
Submitted by: mmeeks
add yet more container tests for Stefan.
2007/01/22 17:32:38 mmeeks 1.1.2.3: more tests.
2007/01/22 14:33:00 sb 1.1.2.2: #i72766# Made code compile warning-free on unxsoli4.pro.
2007/01/22 12:03:55 mmeeks 1.1.2.1: Issue number: i#72766#
Submitted by: mmeeks
Unit tests for Stefan.
2007-01-29 14:44:48 +00:00