summaryrefslogtreecommitdiff
path: root/extensions
AgeCommit message (Collapse)Author
2014-03-22coverity#983370 Dereference before null checkCaolán McNamara
Change-Id: I524ce73811f32b7da38ef127ee4633a2c6a9f933
2014-03-19coverity#984088 Uninitialized pointer fieldCaolán McNamara
Change-Id: I228f7c8f99b0cc3117fbeab78efbeddd74896d54
2014-03-19loplugin:passstringbyrefStephan Bergmann
Change-Id: If08dab3956da5c0ee90d6a788f6f34a936e792d7
2014-03-19convert OUString::match to OUString::endsWithNoel Grandin
Convert code like: rTxt.match( "---", rTxt.getLength()-3 ) to: rTxt.endsWith( "---" ) Change-Id: Iada74c5e714f7234f25b326526843a36255d5599
2014-03-17Remove unused codeStephan Bergmann
Change-Id: I1690f5b88b7bd04d336a45b1d745185285e13070
2014-03-17No need for SAL_CALL hereStephan Bergmann
Change-Id: I283c883bf49e33941de33b9e58d355f683c96ea3
2014-03-17extensions: prefer passing OUString by referenceNoel Grandin
Change-Id: Ic411b2776d0c054d59bfdc847f67785c85c5cb9e
2014-03-14"prefix" and "postfix" are single wordsTor Lillqvist
Change-Id: I32824c614d070cd4649e18da4a0b91b03bccfaba
2014-03-13convert new data type dialog to .uiCaolán McNamara
Change-Id: Ia354e003903c20435947e82afa293a34a367773a
2014-03-10extensions: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
Change-Id: I234d36bc7ef9e8e27087067f6e43d7e522e52d4d
2014-03-07Introduce com.sun.star.beans.theIntrospection singletonStephan Bergmann
...deprecating com.sun.star.beans.Introspection (single-instance) service. Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
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-03EXTENSIONS : Remove usage of DBG_CTOR and DBG_DTOR.Arnaud Versini
Valgrind is capable of detecting such bugs. No need for extra macros. Change-Id: Ied33afa8b32149b6b7b1c0725167349e817d6c89 Reviewed-on: https://gerrit.libreoffice.org/8407 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-02coverity#704634 Dereference after null checkCaolán McNamara
Change-Id: Id6e4e71a9d261734d01de72f81e2df0f7fbad475
2014-03-02unnecessary check before deleteCaolán McNamara
Change-Id: I62b42aa20395ff2f6b3dd2b7ab6460be2ce943b8
2014-02-28WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'Tor Lillqvist
Change-Id: I6a15e3e705015fdfa92e0606935af8b83cc9a183
2014-02-27Remove visual noise from extensionsAlexander Wilms
Change-Id: I0397d0d0e5343b7ed192a790664b068ac6955bd3 Reviewed-on: https://gerrit.libreoffice.org/8259 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27coverity#704633 Dereference after null checkCaolán McNamara
Change-Id: I4985249110da93ba67881dcd1c8cd1dc66ae08e2
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-24harmonize Tell() Seek() type.Norbert Thiebaud
Change-Id: I2e472aa0279d0763762d3c660207cd74da512626
2014-02-24Remove unnecessary bool2anyStephan Bergmann
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
2014-02-23coverity#704631 Dereference after null checkCaolán McNamara
Change-Id: Id74b7073b6e9075003a98172e85696274a8c1924
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-21-Werror,-Wunused-functionStephan Bergmann
Change-Id: Ic792930c291bae1cf18ffd65548908e910c69c45
2014-02-21vcl: sal_Bool -> boolStephan Bergmann
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21editeng: sal_Bool->boolNoel Grandin
Change-Id: I1b215ef78bcade675a2f80def0d6d5afe0ff3d2c
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-18coverity#984087 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ib88a068ea49955d48a0945b28b1016e0cccaf437
2014-02-18coverity#984089 Uninitialized scalar fieldCaolán McNamara
Change-Id: I299cfbe1f53af20f16dc02d3616d284a34da870d
2014-02-18Drop unnecessary #includeTakeshi Abe
Change-Id: Ib9ab63cdf21f54b1611de37c5538a300a1b39ba6
2014-02-17comphelper: sal_Bool -> boolStephan Bergmann
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
2014-02-17convert biblio choose data source dialog to .uiCaolán McNamara
Change-Id: Ia94c417be95f5cd8c1d694a61c5004b0e8486416
2014-02-13coverity#737107 Uncaught exceptionCaolán McNamara
Change-Id: Ia0906af52b217506e63138565cc0eb08842aaef1
2014-02-13coverity#737105 Uncaught exceptionCaolán McNamara
Change-Id: I44acb57da7539a63562d9723ee5d6f83f1dcbbb6
2014-02-12convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin
First, I updated the clang rewriter to do the conversion. Then I lightly hand-tweaked the output for the few places where the rewriter messed up, mostly when dealing with calls on "this". Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9 Reviewed-on: https://gerrit.libreoffice.org/7879 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12normalize values of SYSTEM_CAIROMichael Stahl
Change-Id: I7ba86a2606d585b7b4351bc1fcd6d8ceebca5fd7
2014-02-11coverity#735424 Logically dead codeCaolán McNamara
Change-Id: Ibd58c1660edca27141c27f7607f426f9df8d6b79
2014-02-10Do not use this in ctorStephan Bergmann
Change-Id: If2177d309626ef599c7c15f6195151dc0d0a8e30
2014-02-10auto_ptr -> scoped_ptrStephan Bergmann
Change-Id: I16d457d2981b7b3f60c150d362b8b51f6a2700fd
2014-02-10Remove unnecessary abstract base class IByNameAccessStephan Bergmann
Change-Id: I55e8ff25f4a56a1666d49185236ee5cd5c4ed392
2014-02-06Typo: pasword -> passwordJulien Nabet
Change-Id: I612bf6bb620a76f9fa3542145e942969b9365d98
2014-02-06coverity#707771 coverity gold, Uninitialized m_refCountCaolán McNamara
Change-Id: I98398a3cd7a86a5f31c711f7f1cff0d467a1d2e5
2014-02-06coverity#707770 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ie324197ac0069d8c534cee7a2bae524f9d7f2207
2014-02-02drop unused aURLSTCaolán McNamara
Change-Id: Id009e6c372a5586be2eb84882d3feec8af78e30d
2014-02-01cppcheck: redundant assignmentJulien Nabet
Change-Id: I62fbbe97c24deb45d8a79463e463a6783201ba98