summaryrefslogtreecommitdiff
path: root/tools/source
AgeCommit message (Collapse)Author
2015-03-02convert RC_ constants to enum classNoel Grandin
Change-Id: I5efe1b182d1e269e82c2f211ccf1873fd4ac0622
2015-03-02convert enum _ImplINetRFC822MessageHeaderState to enum classNoel Grandin
Change-Id: Ifbfbec8ee015d5f57f5c864a65d0aed0af9f5318
2015-03-02convert INETMSG_MIME_VERSION constants to enum classNoel Grandin
Change-Id: Iaa2518f7f491f4e0e316dcb8695cf1275ffe8149
2015-03-02convert INETMSG_RFC822_ constants to enum classNoel Grandin
Change-Id: Ib7b52fa3d0d3a675c662893d603f5e66172a2581
2015-02-23Add Rectangle::toString()Miklos Vajna
There were already 5 versions of this in sw, 4 for SwRect, one for Rectangle. Change-Id: Icf8c78f9973d940a4d180b6f52dda9ea1be86c14
2015-02-21Various typosJulien Nabet
Change-Id: I61d6a92e5301e07c9180d94dafec23ef1a06e0ef
2015-02-18DBG_ASSERT -> assertStephan Bergmann
The only caller of GetResourceSkipHeader (BitmapEx ctor in vcl/source/gdi/bitmapex.cxx) unconditionally expects *ppResMgr to be non-null after the call. Change-Id: I17e71df81019de5b78c4356c7aec967c50a5a6ae
2015-02-12tdf#89319 SvFileStream: remove redundant osl_getFilePos() callsLászló Németh
on unx platform Change-Id: Ibdcb7017718154b11ab6dcfc4124beab5efd7b56
2015-02-11Fold INetMessageIOStream into INetMIMEMessageStreamStephan Bergmann
Change-Id: I5aa24881d6a4625f1d2249fda8788bb03ef02e27
2015-02-11Fold INetOStream into INetMessageOStreamStephan Bergmann
Change-Id: I062fa91cc05edae3c2879583cbbf8e8c8acfe482
2015-02-11Fold INetIStream into INetMessageIStreamStephan Bergmann
Change-Id: I882a8bc2048149307383491cc77c4e10f5e99a52
2015-02-11GenerateHeader(false) -> SetHeaderGenerated()Stephan Bergmann
Change-Id: I41f06c92589e6b1839e39d840a479f1a184b47dd
2015-02-11Remove unused INetMIMEMessage streaming operatorsStephan Bergmann
Change-Id: Ifbbfb1213d78a87fffd7a40e10deaf29dd7a96b8
2015-02-11Fold INetRFC822Message into INetMIMEMessageStephan Bergmann
Change-Id: I9b02b8f758c3f0613a7b017d8822fc16ebfc9dec
2015-02-11Fold INetMessage into INetRFC822MessageStephan Bergmann
Change-Id: I89ba13c02954364044b215ba7df7c563720b92f9
2015-02-05convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara
and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
2015-02-02coverity#1242531 Untrusted value as argumentCaolán McNamara
Change-Id: I86e872251f7b8b0818a91c4a133f363e76be5f34
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-26coverity#1244945 Untrusted value as argumentCaolán McNamara
Change-Id: Ic969ea78a53d0a67591dd476bc01fbdce18c7eab
2015-01-26coverity#1244946 Untrusted value as argumentCaolán McNamara
Change-Id: Id7ad0f2060afb2f12d3111400f45d3d63e6abf8f
2015-01-20Some more loplugin:cstylecast: toolsStephan Bergmann
Change-Id: I2b540c4c0c34823143e13d16559dac7458a38933
2015-01-19fdo#39440 reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: I1cd8b118e2598b8b18fb445851a3bb41e554267b Reviewed-on: https://gerrit.libreoffice.org/13967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-16remove unnecessary parenthesesNoel Grandin
left over from "SVStream operator>> to Write method" conversion Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
2015-01-13simplify Date/Time/DateTime conversion codeNoel Grandin
add constructors to Date/DateTime/Time, that take the css::util counterparts, to simplify code converting between these type Change-Id: I4b03da02c63f65b6ec18cb4d6ecc3859bdef1ff7 Reviewed-on: https://gerrit.libreoffice.org/13855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2015-01-09fdo#84938: convert POLY_OPTIMIZE_ #defines to 'enum class'Noel Grandin
Change-Id: I163bd3f521473c5357c23c3ce4978f984be7b6fe
2015-01-07fdo#84938: convert COMPRESSMODE_ #defines to 'enum class'Noel Grandin
Change-Id: Ica501fc73e7e5f9dbd30dd9da3f337b2dc7e6f02
2015-01-07fix windows buildNoel Grandin
after my commit 7f8f277b94704a289fbbd1b836e4e5d66311580d "fdo#84938: convert STREAM_ #defines to 'enum class'" Change-Id: I82c5b7812687b6f080bea281485e9ad2ecc5353c
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-05Some loplugin:revisibility clean-upStephan Bergmann
Stumbled across such redundant visibility re-specifications when looking at the odd case of cppu_unsatisfied_iquery_msg declared CPPU_DLLPUBLIC in cppu/source/cppu/cppu_opt.cxx and used in inline code in include/com/sun/star/uno/Reference.hxx with only a declaration lacking CPPU_DLLPUBLIC visible, and wondering how that actually works on Windows. However, this plugin is probably not worth it being run all the time, so committing it to compilerplugins/clang/store/. Change-Id: Ibc3c4e7499213de1b419ce7eb85455cb832e1510
2015-01-05valgrind: Conditional jump or move depends on uninitialised valueCaolán McNamara
Change-Id: Id5125052b49e322cdfa2c7d55d68e8a7a512965c
2015-01-05fdo#84938: replace NUMBERFORMAT_INT_ constants with 'enum class'Noel Grandin
Change-Id: I9c67de31f5571b282adc132d973b79bccb35fdc9
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-12-31Date/Time no longer loaded from rsc filesCaolán McNamara
Change-Id: Ia9ed86b0d96cac76c2e1639065a4ac594c2966b1
2014-12-31drop dateformatter resource loadingCaolán McNamara
Change-Id: Ie94c7502b0a82ca406b8d76e18def7bab8233a00
2014-12-31TimeFields not loaded from resource files anymoreCaolán McNamara
Change-Id: Idf69d375eff4bfff7115e59530b37200ee79f086
2014-12-18Revert "Work around a Clang trunk (towards 3.6) -Werror,-Wunused-value"Stephan Bergmann
This reverts commit 146bd125a01742b2a6561a4a23735f37867d8221, Clang's r224465 does not look really useful the way it is, so work around that directly in Clang for now.
2014-12-18Work around a Clang trunk (towards 3.6) -Werror,-Wunused-valueStephan Bergmann
Change-Id: I3ee32c5bd379bb851f8f255faa93d96227dcff84
2014-12-11remove operator>> and operator<< methodsNoel Grandin
in favour of ReadXXX/WriteXXX methods Change-Id: I39dfeee92e5b01fdf43db3bbee0f2fc471017653
2014-12-10long is 32 bit on Windows x86_64 platformDavid Ostrovsky
So that this is always wrong (on this platform) to write: reinterpret_cast<foo>(reinterpret_cast<long>(bar)) it should be: renterpret_cast<foo>(reinterpret_cast<sal_uIntPtr>(bar)) Change-Id: Ia286246ee1616988f755c2d2054b26efacc51af0 Reviewed-on: https://gerrit.libreoffice.org/13366 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-12-05fdo#38835 strip out OString globalsNoel Grandin
Change-Id: Id2eb27132fd6c1734e50c02617ce1bbb75e294a0
2014-12-05loplugin:cstylecast, involving pointer to incomplete typeStephan Bergmann
Change-Id: I73850d2b2ea6ff4376e25e0be39c65c35328a9a6
2014-12-03Fold URE: WindowsStephan Bergmann
...assuming the delayLoadHook in cli_ure/source/native/native_bootstrap.cxx is no longer necessary and loading of cppuhelper from the program dir cannot fail regardless in whatever scenario the cli_cppuhelper library itself is loaded. Change-Id: I13f32b327bca4cce9780864f5e57cdad3860afe5
2014-11-25assert on loading timestamp in kde80951-1.htmlCaolán McNamara
Change-Id: I32a9d6cc625537ab6e0940d93bf9a7544df370c8
2014-11-19Mark Color::AsRGBHexString() as constMiklos Vajna
Change-Id: Idf00e228c480afe2bbbb64682ed01f2c778b6d9d
2014-11-18Apply pimpl to ResStringArray, to hide its internals.Kohei Yoshida
Change-Id: I23969735f35e221a1aad39081ee63d02066d856f
2014-11-17Build fix on Linux.Kohei Yoshida
Change-Id: Iea96991a3bef08c17a8a0cbc347408dadc0061af
2014-11-17Apply pimpl to Fraction.Kohei Yoshida
Change-Id: I60eb597a6374b807b2264af6d5841a42e9b1c0f3
2014-11-17Make these methods non-inline.Kohei Yoshida
Change-Id: I0b24e34dec6c452659b224b45a6849dafe708c3b
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-14coverity#982314 Logically dead codeCaolán McNamara
Change-Id: Iba420f0726864cb093e17fc9f4ce5bd7a33f7721