summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
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
2015-09-17"unnamed namespaces don't work well yet" is no longer trueStephan Bergmann
Change-Id: I7a04c2d04e3fc52982d83119755e0b349d232a47
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-10Check for "multipart/" prefixStephan Bergmann
...instead of full-string compare; regression introduced with c4927a1b76b728b2208c29d09dbf54e70bb26e13 "ByteString->rtl::OString[Buffer]" erroneously replacing a call to ByteString::CompareIgnoreCaseToAscii(s,n) with a call to OString::equalsIgnoreAsciiCase(s,n). Change-Id: I473e3403910e22e43d7350afa88f9a8e103ebf1d
2015-09-08Avoid pain when using selective debuginfoTor Lillqvist
Compile in the DbgUnhandledException function always. Change-Id: I302954598e599e8db71967974b18ade54ca2de13
2015-09-03disable an assert in color tests due to rounding errorTomaž Vajngerl
Change-Id: I829cb4dd2d256a621a407b7715ffc12e90a939b6
2015-09-03Change color test to report expected values when assert failsTomaž Vajngerl
Change-Id: I8383dd317a4f8af5f057d81d8e90172b1f78edde
2015-09-03Report reference color and expected color if test failsTomaž Vajngerl
Change-Id: I7c8110b31171b247bcd46cee02f41972f59cbdcc
2015-08-31sot: don't leak uninitialized memory into temp fileMichael Stahl
Both valgrind and drmemory complain about this in SdExportTest::testSwappedOutImageExport() via SfxOleThumbnailProperty::ImplSave(). Syscall param pwrite64(buf) points to uninitialised byte(s) UNINITIALIZED READ: reading 0x0455b1b4-0x0455b1c8 20 byte(s) within... It appears that the stream writes out everything up to the seek position anyway (otherwise the size check wouldn't work, with sparse files) so make sure it's all zeroed. Also fix SvMemoryStream::ReAllocateMemory() to zero it. Change-Id: Id86dfa65ef6f7d1bba4810f121e01473c5fcf4c7
2015-08-31tdf#93794 - spin buttons not rendered in gtk2/gtk3Noel Grandin
for penance, introduce a unit test Change-Id: I2c40285732be665e179c477e6e7603aa6f8be5d7
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann
Change-Id: Id44fa2989d13e8a8f98efa29d8ba093812adbd60
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-27Remove redundant if (zero is already handled earlier)Stephan Bergmann
Change-Id: Iaab5763d4fbde431bac6f7ecbf4527ad889b6891
2015-08-27loplugin:passstuffbyrefStephan Bergmann
Change-Id: I0244f12f1ee2e61ac577222a14b011aee5ddbd54
2015-08-27Avoid slightly silly warnings from ClangTor Lillqvist
Clang (at least the one from newest Xcode 7 Beta) warn both that fResult "is used uninitialized whenever 'if' condition is false" *and* that the very same "condition is always true". Change-Id: I9e2424e7323046edbfe1af3c9f960df49e0809dd
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-17Put Line under tools namespaceNorbert Thiebaud
Change-Id: I7442848951c0d4579fb2a2a3eef3bfed7135aac4 Reviewed-on: https://gerrit.libreoffice.org/17791 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-08-17Put Polygon from tools under tools:: namespaceNorbert Thiebaud
Polygon is one of these names that Clash with some system objects A similar work has been done earlier with PolyPolygon. Change-Id: Icf2217cb2906292b7275760f1a16be0e150312f5 Reviewed-on: https://gerrit.libreoffice.org/17789 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-08-11loplugin: defaultparamsNoel Grandin
Change-Id: I50ba6a836473961d952ed88e56532501469c5368
2015-07-31tools: prefix members of SvStreamMichael Stahl
Change-Id: Iba845749d645bc1cf9eb6d6c41829717831bc487
2015-07-30loplugin:unusedmethodsNoel Grandin
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-17in remainingSize consider that its is possible to seek past the endCaolán McNamara
Change-Id: I1652244d5515629f1cd8f15f4c5b15f139dba0aa
2015-07-16tools: replace boost::ptr_vector with std::unordered_mapMichael Stahl
Change-Id: I530c5f95dda9aa80654e3a2a20a2e236221e7305
2015-07-15Revert "tools: replace boost::ptr_vector with std::unordered_map"Norbert Thiebaud
This reverts commit 218be53fe00aebed43df0b041de609b30f99ce95. MacOSX breaker
2015-07-16tools: replace boost::ptr_vector with std::unordered_mapMichael Stahl
Change-Id: I530c5f95dda9aa80654e3a2a20a2e236221e7305
2015-07-13Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug buildsStephan Bergmann
...to avoid lots of loplugin:staticmethods warnings. Also enables DBG_ASSERT etc. also for --enable-debug builds in addition to --enable-dbgutil builds. Change-Id: Ib89ecd9ab8ce7abb2c64790ace248b31f9d2b64d
2015-07-09add some unit tests for tools::RectangleTomaž Vajngerl
Change-Id: Ic0323864455c248c926e69a0bb91d13adc963eca
2015-07-07-1 -> Z_ERRNO for clarityCaolán McNamara
Change-Id: I29aa8531646f416a72b89f7571b757c39705c31a