summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ia5acfb564f913d52cd25b5d64d06b5280b94cb72
2015-11-09com::sun::star->css in tools/ and ucb/Noel Grandin
Change-Id: I695ff721efd63b8ca0dd3c61ba5a4fef2c43cde6 Reviewed-on: https://gerrit.libreoffice.org/19854 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-08tdf#57950 Replace chained O(U)StringBuffer::append() with operator+Sedat Ak
Change-Id: Ieef535e34f5acd9139c3ee1e9e6c650fc5fe92e4 Reviewed-on: https://gerrit.libreoffice.org/19842 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-11-06Return earlyJulien Nabet
Change-Id: Ifef410c1495d1a2b99693f4669d81d6293f74f6a Reviewed-on: https://gerrit.libreoffice.org/19834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I88a3396746bf12c08265600072a368c9bbf5744e
2015-11-05(Poly)Polygons: sal_uIntPtr to sal_uInt32/sdt::size_t/enumMatteo Casalin
Change-Id: I167d656f419ddbeb72960b8510fb8084605d4d5c
2015-11-05class PolyOptimizeData is never instantiatedMatteo Casalin
Change-Id: I136b3b1d572e4401d89d50f543150d71dbe44d16
2015-10-28Date: avoid temporary conversions to sal_uIntPtrMatteo Casalin
Change-Id: Ib52c5d1a55d17c572fd5be9a3ce36c6de7965220
2015-10-28Date: group common codeMatteo Casalin
Change-Id: I4d1bf6591d54621c33dc2ff0be0ecb59f1839581
2015-10-28Rename (private) Date::init and reuse itMatteo Casalin
Change-Id: I3123876860cf6cce1e16c8f516f3d08fa7e15d83
2015-10-28Date: use support function for mapping years to daysMatteo Casalin
and reduce scope for other local support functions. Change-Id: Id0d6b9a04ff67620f6dca39d62443a3f191d75ee
2015-10-28Avoid intermediate cast to sal_uIntPtrMatteo Casalin
Change-Id: Ia7b5f519e381318f1d1cd6d0f982d22e8bbdffa7
2015-10-27sal_uIntPtr to sal_uInt64, sal_uLong to sal_Size for streamsMatteo Casalin
Change-Id: I062f1f6c5b20ca47734a9a3cd1a229d51763a206
2015-10-27loplugin:unusedmethodsNoel Grandin
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-23Remove obsolete version map filesStephan Bergmann
Change-Id: Ic179264fe306bb2bca9797f10e26c0224fb1dd00
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: Ia24ec98bfec36aa758fb1c5a6ec095c5047242a2
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I3c9be2a7e192fea7c415721872a803659a300282
2015-10-19convert DBG_ASSERTWARNING to SAL_WARN_IFNoel Grandin
I know the comment in debug.hxx said to use SAL_INFO, but SAL_WARN makes much more sense. Change-Id: I3d81f9db89ef8cebe1e4f2983941d69b4c7e6b7d
2015-10-19convert remaing DBG_WARNING to SAL_INFONoel Grandin
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-15Reuse FRound from tools/helpers.hxxStephan Bergmann
Change-Id: I74ec4fc6a685c59dbc79978bf8a9afff0a1f9501
2015-10-15cppcheck:variableScopeNoel Grandin
Change-Id: I9b671637fbe0f32e695d22b74bfb40a39a9fe884 Reviewed-on: https://gerrit.libreoffice.org/19364 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-09Move SolarMutex down from tools to comphelper/ to make life easier.Michael Meeks
Change-Id: I7dd21f30daa27e5de2848eb16aee9a610dd629d5 Reviewed-on: https://gerrit.libreoffice.org/19271 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-10-08tdf#57950 Replace chained O(U)StringBuffer::append() with operator+Aybuke Ozdemir
Change-Id: Id9bc24079d3840277d6fc10197a4f27373f4bd25 Reviewed-on: https://gerrit.libreoffice.org/19225 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-05Add isSchemeEqualTo(), isAnyKnownWebDAVScheme() to INetURLObjectGiuseppe Castagno
...which will be used when rebasing <https://gerrit.libreoffice.org/#/c/17189> "tdf#82744: fix WebDAV lock/unlock behaviour - part 3" on top of d3de490437df4c9093f32e97fc185066d64c0f46 "Add vnd.sun.star.webdavs URL scheme." Change-Id: I19bd715d755a6f070b95ce897d8a1bbb4910d537 Reviewed-on: https://gerrit.libreoffice.org/18151 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-10-05clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Ic4aba87fa750824a366fba18fcfa46fa11d31e78
2015-10-05clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Iec5a5fe5f14a9dcdbd7644bf67d4a985e42cd957
2015-10-05clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Ia1f6433000fe48ec6249b1cfb26668b665b2d15a
2015-10-01tdf#94559: third step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in oox, reportdesign, svl, svtools, svx, tools Change-Id: I1f85ff92267a0668eba625fa61b4f07feb8f3d4e Reviewed-on: https://gerrit.libreoffice.org/19002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30Fix typosAndrea Gelmini
Change-Id: I3926eca56ac9f54f9ddbf88610888ce97cf00b34 Reviewed-on: https://gerrit.libreoffice.org/18990 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-29Fix typosAndrea Gelmini
Change-Id: Ifddd2533b767924791338555031b848c59980c52 Reviewed-on: https://gerrit.libreoffice.org/18989 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29coverity#1325052 Logically dead codeCaolán McNamara
since commit 984780243c9a1ab1242f3af719c6dca3ddacf67a Author: Stephan Bergmann <sbergman@redhat.com> Date: Thu Sep 17 19:15:26 2015 +0200 HEADER_FIELD_TEXT is the only used HeaderFieldType Change-Id: Ia4e5554e1aaed9e821bdea18b9b3acff001dd6e7 Change-Id: Id56790fd5c953d4d7f4a235c7d016c807ff37038
2015-09-29coverity#1325051 Logically dead codeCaolán McNamara
since commit 984780243c9a1ab1242f3af719c6dca3ddacf67a Author: Stephan Bergmann <sbergman@redhat.com> Date: Thu Sep 17 19:15:26 2015 +0200 HEADER_FIELD_TEXT is the only used HeaderFieldType Change-Id: Ia4e5554e1aaed9e821bdea18b9b3acff001dd6e7 Change-Id: I94a1cba6e9813b7192a03ea59948bb40438c341b
2015-09-21valgrind: use of uninit data in sw_globalfilter testCaolán McNamara
Change-Id: I4d327d1e65c8ef5b9dede18ac55f1658d8e3569a
2015-09-18Some follow-up #include clean-upStephan Bergmann
Change-Id: I4e91748701becfc92a379a490c08e9c7950007e3
2015-09-17writeHeaderFieldBody is only called with bInitialSpace = falseStephan Bergmann
Change-Id: Ib7fe0bee6339bfad0f63794fec3dfb3f24333ff4
2015-09-17CODING_QUOTED has become unusedStephan Bergmann
Change-Id: I012b7d407cb50ba01fcc3b98ea2fe1968ec74a28
2015-09-17CONTEXT_TEXT is the only unused ContextStephan Bergmann
Change-Id: Ibacc88a60a313fd503935deef93881236cd8ec7f
2015-09-17Make various INetMIME members local to inetmime.cxxStephan Bergmann
(and remove those that are then identified as unused) Change-Id: I5be9d306705837b995b91a13922bc1fb9fed4902
2015-09-17Make createPreferredCharsetList local to inetmime.cxxStephan Bergmann
Change-Id: Idce9983135d7856b74b1cc548aed668fc9910f46
2015-09-17SPACE_ENCODED has become unusedStephan Bergmann
Change-Id: I878bd07981686cab58906ccc1db1c4b3f47f8190
2015-09-17Make INetMIMEEncodedWordOutputSink local to inetmime.cxxStephan Bergmann
Change-Id: I779bde650b7fc21af93b573a55fab5b6fff03790
2015-09-17HEADER_FIELD_TEXT is the only used HeaderFieldTypeStephan Bergmann
Change-Id: Ia4e5554e1aaed9e821bdea18b9b3acff001dd6e7
2015-09-17WaE: variable set but not usedCaolán McNamara
Change-Id: I6b50ca1b23bd81521b2e94a2f16d63c4cef027ce
2015-09-17INetMIMEOutputSink line length limit is unusedStephan Bergmann
Change-Id: Ib9da396d0669bfd89dbbff17821b8303f20d61aa
2015-09-17All INetMIMEOutputSink instances use same fixed ctor arg valuesStephan Bergmann
Change-Id: I49126732be307b80270843c147d9cce4b3fdd2a3
2015-09-17Odd that this started out as STRING_MAXLENStephan Bergmann
...rather than as NO_LINE_LENGTH_LIMIT, in 8ab086b6cc054501bfbf7ef6fa509c393691e860 "initial import" Change-Id: I8772236e4ce1576f2d0d4d6c02800c4d569520a4
2015-09-17Fold INetMIMEStringOutputSink into INetMIMEOutputSink baseStephan Bergmann
Change-Id: I675e656b57fca90e42be2d924c102a995168984d
2015-09-17No need for user-prov. INetContentTypeParameter ctor, use list-initializationStephan Bergmann
Change-Id: Ie116def9e5e90a59a82c3e8a4821eecd68eee64c