summaryrefslogtreecommitdiff
path: root/reportdesign
AgeCommit message (Collapse)Author
2014-03-07coverity#704558 Unchecked dynamic castNorbert Thiebaud
Change-Id: I45ce419c65e0fac28879747787ccf1ebc25e7698
2014-03-07Introduce com.sun.star.beans.theIntrospection singletonStephan Bergmann
...deprecating com.sun.star.beans.Introspection (single-instance) service. Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
2014-03-06coverity#738782 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ie34b70887827ad9f38ae7e0d732471c6051ba4d7
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke
ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-04fdo#54938: Convert some places to use cppu::supportsServiceMarcos Paulo de Souza
The last cases are non obvious, so it's pratically done Change-Id: Icae1da8e238f516eaed0f7fbdf96fff778eac547 Reviewed-on: https://gerrit.libreoffice.org/8445 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-03-03Use cstdlib std::abs instead of stdlib.h absStephan Bergmann
...because the latter lacks the abs(long) overload in some popular environments, cf. <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60401> "stdlib.h does not provide abs(long) overload." Similarly, stdlib.h lacks the abs(float), abs(double), abs(long double) overloads compared to cmath there, whose use was apparently intended in sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx. Rewrote that to use CPPUNIT_ASSERT_DOUBLES_EQUAL instead, which revealed that the comparisons need rather large deltas of .1 resp. .2 (which the original code hid with an implicit conversion to integral type, thus using an effective delta of 1). Discovered with -Wabsolute-value ("absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value") recently introduced on Clang trunk towards 3.5. Change-Id: I4c41575ffdccb2944498b662bd3a53fd510cb0c0
2014-03-03editeng: sal_Bool->boolNoel Grandin
Change-Id: I26b1fe14023737b85bcf23628e4881c8be79f071
2014-02-28fdo#63154 Remove unused solar.hAlexandre Vicenzi
Removed from dbaccess. editeng, filter, framwork, formula, lotuswordpro, reportdesing, rsc, uui Conflicts: framework/source/uielement/menubarwrapper.cxx reportdesign/inc/RptDef.hxx uui/source/iahndl.hxx Change-Id: Ia6f1d8679736c3de99bd8060d8a7f76975268273 Reviewed-on: https://gerrit.libreoffice.org/8118 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I9e27453f0b77a23ae3d811f0a50a85d3fdf80978
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I7da10ad3ba8017d64c723b53795348edf0e7dd6d
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from reportdesignAlexander Wilms
Change-Id: I2fea3ecefa24cfc0f3cc2a2f4de7c934eba5d6f7 Reviewed-on: https://gerrit.libreoffice.org/8295 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25coverity#983702 Uncaught exceptionCaolán McNamara
Change-Id: I3a0b4c8fe4208d0945860f6b4e1b31852aef8502
2014-02-25coverity#983700 Uncaught exceptionCaolán McNamara
Change-Id: Iee09cbebf1fa6f0c0af8dddfd5f8fdbb7cd63df7
2014-02-24Remove unnecessary bool2anyStephan Bergmann
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
2014-02-23coverity#704661 Unchecked dynamic_castCaolán McNamara
Change-Id: I50bdab52c8758a71656f47e3bf053181c7831c46
2014-02-23coverity#704657 Dereference after null checkCaolán McNamara
Change-Id: Ia274c4f6ab148fd0390f3ff553e4cc4245681ab0
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21vcl: sal_Bool -> boolStephan Bergmann
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21editeng: sal_Bool->boolNoel Grandin
Change-Id: I18717328ccd37649683b0d8cb57c85629cdcb4d9
2014-02-21editeng: sal_Bool->boolNoel Grandin
Change-Id: I92935238ff016dc441db72e3aadc28466fe84e68
2014-02-21editeng: sal_Bool->boolNoel Grandin
Change-Id: I1b215ef78bcade675a2f80def0d6d5afe0ff3d2c
2014-02-21editeng: sal_Bool->boolNoel Grandin
Change-Id: I5f0b49b7a51f32fe4974739d2610204adefc4faa
2014-02-21sal_Bool->boolNoel Grandin
Change-Id: I83a9267cc461c2921b5da04a1122539ba0ac7d2d
2014-02-21Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe
Change-Id: I674b7ee507258555b667657a13db6fda9b8d8372
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20svl: sal_Bool -> boolStephan Bergmann
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-19sal_Bool->boolNoel Grandin
Change-Id: Id5cbf2c94e3d3ff27cdb8998e2b7b3b712b537ec
2014-02-18sal_Bool->boolNoel Grandin
Change-Id: I628c1506573c7d5ec182048a20ed996c9ae879c4
2014-02-17comphelper: sal_Bool -> boolStephan Bergmann
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
2014-02-14sal_Bool->boolNoel Grandin
Change-Id: I475daf63c9548176f37449a26731cb176cf0ea3e
2014-02-14sal_Bool->boolNoel Grandin
Change-Id: Iadc9f9ef444fe36d58304c2d6219021173385118
2014-02-11coverity#705112 Using invalid iteratorCaolán McNamara
Change-Id: I6d05e418436b9d0b12be977b7842e1230ba3c7b1
2014-02-11sal_Bool->boolNoel Grandin
Change-Id: I31fb9d5b49260fd1a8fc1312b01fd5632c97ab2e
2014-02-07sal_Bool -> boolStephan Bergmann
Change-Id: Ifc80202e0865b59931af6e50d3d60f5021f8b52e
2014-02-06coverity#707968 Uninitialized pointer fieldCaolán McNamara
Change-Id: I85da713ec4f0e1e0180e9f7833a52a2768142a66
2014-02-04fdo#54938 Convert dtrans, remoteb., reportd., ucbhelper to cppu::supportsSer..Alexandre Vicenzi
Change-Id: I42cf7dc139b79b715f3c330f9bca7d333de8bafc Reviewed-on: https://gerrit.libreoffice.org/7762 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-02-03uiconfig: remove obsolete helpid's and clean trailing whitespace.Michael Meeks
Change-Id: Ic94ed52bbe0e5c612258fa56a970d61de0972eb3
2014-02-03Unused REPORTDESIGN_DLLPRIVATEStephan Bergmann
Change-Id: If06b7fdb749c7fca957c5cc4cb832a7a9cb167d6
2014-01-31coverity#738780-79 : Uninitialized scalar fieldNorbert Thiebaud
Change-Id: Ie8a986bb633a7d81f95b81eac5bf2879ccba2cb9
2014-01-31coverity#738781 : Uninitialized scalar fieldNorbert Thiebaud
Change-Id: I85875bd817a94f7c1b457a85780329cf85a1c71d
2014-01-28bool improvementsStephan Bergmann
Change-Id: Ida0db3963ad472952f63b5e24901f16f6b0d5184
2014-01-24Introduce com.sun.star.task.theJobExecutor singleton.Matúš Kukan
To replace com.sun.star.task.JobExecutor single-instance service, incorrectly converted in 748aa84e9808ad31c6ff6b71459525c82de10e58 [including changes by Stephan Bergmann <sbergman@redhat.com>] Change-Id: I4cea2c63a20b5b22f6e1f822fb35fcc4d0397687 Reviewed-on: https://gerrit.libreoffice.org/7609 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-01-22bool improvementsStephan Bergmann
Change-Id: I21f806d7a9ebe5b4de4cbedfc9879019cdbba22b
2014-01-21REPORTDESIGN : Remove usage of DBG_CTOR and DBG_DTOR.Arnaud Versini
Valgrind is capable of detecting such bugs. No need for extra macros. Change-Id: I9cb8af9dad93a7ee7114489b13e3994515357a10 Reviewed-on: https://gerrit.libreoffice.org/7533 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-18Window::PreNotify should return boolStephan Bergmann
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-17Window::Notify should return boolStephan Bergmann
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-09Consolidate XServiceInfo for classes derived from SvXMLImportStephan Bergmann
Change-Id: I5a269d8b7e95049c67ae14b06a79b417bc91a474
2014-01-08Consolidate XServiceInfo for classes derived from SvXMLExportStephan Bergmann
Change-Id: Ia3e2b5e682a64844bb6c713912c50c7681393d52