summaryrefslogtreecommitdiff
path: root/include/tools
AgeCommit message (Collapse)Author
2015-10-30loplugin:unusedmethodsNoel Grandin
Change-Id: Id3b5cd75d4357336ed592ef11a3f34d209f8e95f Reviewed-on: https://gerrit.libreoffice.org/19636 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-28Rename (private) Date::init and reuse itMatteo Casalin
Change-Id: I3123876860cf6cce1e16c8f516f3d08fa7e15d83
2015-10-27sal_uIntPtr to sal_uInt64, sal_uLong to sal_Size for streamsMatteo Casalin
Change-Id: I062f1f6c5b20ca47734a9a3cd1a229d51763a206
2015-10-27move SvRefMemberList into idlNoel Grandin
since it's only usage is there Change-Id: I882ddd3e08ab37cf7b3cca8121463598ea3d3bc4
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-26fix includes that are not stand-aloneNorbert Thiebaud
includes should be able to be included on their own fix some of the ones that do not respect that rule. Change-Id: Id161224a1978461d3cea43252f232f18888a4f61 Reviewed-on: https://gerrit.libreoffice.org/19612 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-23com::sun::star->css in include/sot to include/typelibNoel Grandin
Change-Id: I9cd92b53370a6b6018d2f7c648890f9c014a27de
2015-10-21remove untyped Link<>Noel Grandin
Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b Reviewed-on: https://gerrit.libreoffice.org/19491 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
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-13These warnings are covered by --enable-werror anywayStephan Bergmann
...so remove these remnants from a time when developers got away with ignoring warnings and tools/solar.h was considered the center of the universe Change-Id: I526c6b44fafb98e8400f2ab122dbb7e2bfbb3480
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
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-08Stream operator<<() for DateTime to help debugging.Jan Holesovsky
Change-Id: I49810682dc02f4220fca786fcd17a5a0f9abda5a
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
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-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: I8e9c6c72c89411d8de04e5edd9317cd54f7c472a Reviewed-on: https://gerrit.libreoffice.org/18958 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
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-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-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-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-17Fold INetMIMEStringOutputSink into INetMIMEOutputSink baseStephan Bergmann
Change-Id: I675e656b57fca90e42be2d924c102a995168984d
2015-09-17INetMIMEOutputSink ctor args are always given explicitlyStephan Bergmann
Change-Id: Iacb01ac77ef4419f7428ecb397e91ab8d666a8f3
2015-09-17Remove unused HARD_LINE_LENGTH_LIMITStephan Bergmann
Change-Id: Iae65de5a71f8a0b8ad80138ae310db9a84736878
2015-09-17No need for user-prov. INetContentTypeParameter ctor, use list-initializationStephan Bergmann
Change-Id: Ie116def9e5e90a59a82c3e8a4821eecd68eee64c
2015-09-17Don't violate unordered container hash+pred requirementsStephan Bergmann
"Two values k1 and k2 of type Key are considered equivalent if the container's key equality predicate returns true when passed those values. If k1 and k2 are equivalent, the container's hash function shall return the same value for both." [unord.req] But for INetContentTypeParameterList, all inserted keys are already lower-case by construction, and all queries happen to be done with (literal) lower-case keys, so just document the requirement here that insertion and query needs to be done with lower-case keys. Change-Id: Ic46845b7bb0376e995e7736b57fa80c777d1c263
2015-09-10Remove unused INetMIMEMessage partsStephan Bergmann
Change-Id: Ica7d3e7e52ccdfe833ac10567c6f5f7bb7085dee
2015-09-10More INetMIMEMessageStream clean upStephan Bergmann
Change-Id: Ibb2b93261e2d8ef370ac106766e39685a03a6ef3
2015-09-10Merge INetMessageIStream into INetMIMEMessageStreamStephan Bergmann
Change-Id: Ic3d9cd117b3f911a7cb1317fc9d1d2e9d8f1ff42
2015-09-10No need for INetMIMEMessageStream encodingStephan Bergmann
...in the only use case in ODatabaseForm Change-Id: I0282a9f60b05f279a11dcf1990e68b7e017ea3aa
2015-09-10Remove unused INetMessageOStream functionalityStephan Bergmann
Change-Id: I34ee4750f30635809b8e23cbf1bd0e16f269f549
2015-09-10Reduce INetMIMEMessage::EnableAttachChild to its only use caseStephan Bergmann
Change-Id: I67221408d6b9d2aee942ca8bd39ca51da0209551
2015-09-10convert Link<> to typed, and introduce LinkParamNoneNoel Grandin
as a marker type for unused Link#Call(T) param Change-Id: Ife9149052a52b27fefd4f810309a5004a0f1771b
2015-09-10Remove unused "#ifndef ENUM_*_DECLARED" wrappingStephan Bergmann
Change-Id: I6f207a1692e4fcd2fbecd0420f5ed798e4504667
2015-09-09Get rid of OSL_UNUSEDStephan Bergmann
In many cases it was originally used to silence warnings about variables used only in OSL_ENSURE etc., but that's no longer necessary since OSL_ENSURE is based on SAL_WARN etc. In some other cases it was apparently used as a speculative debugging aid, to have a value assigned to a variable to be easily able to view the value in a debugger. And in some cases it was used with (otherwise ignored) return values of (typically SQL-related) function calls, but it is probably better to eventually find and fix all the problematic ones among such calls via function declarations annotated SAL_WARN_UNUSED_RESULT. Change-Id: Ib925b38da70073b546fdcd00fa8524dc302accbf
2015-09-08Avoid pain when using selective debuginfoTor Lillqvist
Compile in the DbgUnhandledException function always. Change-Id: I302954598e599e8db71967974b18ade54ca2de13
2015-08-31tdf#93794 - spin buttons not rendered in gtk2/gtk3Noel Grandin
for penance, introduce a unit test Change-Id: I2c40285732be665e179c477e6e7603aa6f8be5d7
2015-08-30tdf#62525: use cow_wrapper for SvGlobalNameDaniel Robertson
Convert the pimpled copy-on-write SvGlobalName class to use the ::o3tl::cow_wrapper using the default reference counting policy. Change-Id: I7bceb06ddfb31ca5901e5e7d5d93dda494db945f Reviewed-on: https://gerrit.libreoffice.org/18070 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-27this farcical staroffice 5.0 related junk can at least be constCaolán McNamara
Change-Id: I096d98f6e0cb61cacd9cd82a623f832b88ded1e6
2015-08-27Again add ability to change tint/shade of a color + unit testTomaž Vajngerl
Change-Id: I4c06290f09e5bfecd2c1de896e19cb5036a3a0e9
2015-08-26Bin the fairly useless DbgDialog stuff and handle falloutTor Lillqvist
See (short) discussion on the mailing list, "How was it again, is the DbgDialog useful?". Change-Id: Ibde1eb13f16edf94f1f7aebd0befd1b0b171d5c4
2015-08-25simplify some declarationsNoel Grandin
Change-Id: I348e7f984e5e8b4b915d11de8182da07a6356f8d
2015-08-25add some comments to Rectangle mutation methodsNoel Grandin
Change-Id: I7e1d737fc1e7a431afd3cde74c2c974e0cbef9ef