summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tdf#89319 SvFileStream: remove redundant osl_getFilePos() callsLászló Németh2015-02-121-0/+2
| | | | | | on unx platform Change-Id: Ibdcb7017718154b11ab6dcfc4124beab5efd7b56
* Fold INetMessageIOStream into INetMIMEMessageStreamStephan Bergmann2015-02-111-20/+8
| | | | Change-Id: I5aa24881d6a4625f1d2249fda8788bb03ef02e27
* Fold INetOStream into INetMessageOStreamStephan Bergmann2015-02-111-16/+1
| | | | Change-Id: I062fa91cc05edae3c2879583cbbf8e8c8acfe482
* Fold INetIStream into INetMessageIStreamStephan Bergmann2015-02-111-16/+1
| | | | Change-Id: I882a8bc2048149307383491cc77c4e10f5e99a52
* GenerateHeader(false) -> SetHeaderGenerated()Stephan Bergmann2015-02-111-2/+2
| | | | Change-Id: I41f06c92589e6b1839e39d840a479f1a184b47dd
* Remove unused INetMIMEMessage streaming operatorsStephan Bergmann2015-02-111-67/+0
| | | | Change-Id: Ifbbfb1213d78a87fffd7a40e10deaf29dd7a96b8
* Fold INetRFC822Message into INetMIMEMessageStephan Bergmann2015-02-112-125/+84
| | | | Change-Id: I9b02b8f758c3f0613a7b017d8822fc16ebfc9dec
* Fold INetMessage into INetRFC822MessageStephan Bergmann2015-02-112-70/+47
| | | | Change-Id: I89ba13c02954364044b215ba7df7c563720b92f9
* convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara2015-02-052-3/+0
| | | | | | and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
* Updated all precompiled headers.Ashod Nakashian2015-02-051-0/+5
| | | | | | | | Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* coverity#1242531 Untrusted value as argumentCaolán McNamara2015-02-021-6/+8
| | | | Change-Id: I86e872251f7b8b0818a91c4a133f363e76be5f34
* callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara2015-01-291-19/+0
| | | | | | | | | | | | | | | | | | 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
* coverity#1244945 Untrusted value as argumentCaolán McNamara2015-01-261-1/+10
| | | | Change-Id: Ic969ea78a53d0a67591dd476bc01fbdce18c7eab
* coverity#1244946 Untrusted value as argumentCaolán McNamara2015-01-261-0/+9
| | | | Change-Id: Id7ad0f2060afb2f12d3111400f45d3d63e6abf8f
* Some more loplugin:cstylecast: toolsStephan Bergmann2015-01-206-37/+37
| | | | Change-Id: I2b540c4c0c34823143e13d16559dac7458a38933
* fdo#39440 reduce scope of local variablesMichael Weghorn2015-01-192-7/+4
| | | | | | | | | 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>
* remove unnecessary parenthesesNoel Grandin2015-01-161-7/+7
| | | | | | left over from "SVStream operator>> to Write method" conversion Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
* simplify Date/Time/DateTime conversion codeNoel Grandin2015-01-133-0/+16
| | | | | | | | | | | 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>
* fdo#84938: convert POLY_OPTIMIZE_ #defines to 'enum class'Noel Grandin2015-01-092-14/+14
| | | | Change-Id: I163bd3f521473c5357c23c3ce4978f984be7b6fe
* fdo#84938: convert COMPRESSMODE_ #defines to 'enum class'Noel Grandin2015-01-071-1/+1
| | | | Change-Id: Ica501fc73e7e5f9dbd30dd9da3f337b2dc7e6f02
* fix windows buildNoel Grandin2015-01-071-8/+8
| | | | | | | after my commit 7f8f277b94704a289fbbd1b836e4e5d66311580d "fdo#84938: convert STREAM_ #defines to 'enum class'" Change-Id: I82c5b7812687b6f080bea281485e9ad2ecc5353c
* fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin2015-01-079-36/+36
| | | | Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
* Some loplugin:revisibility clean-upStephan Bergmann2015-01-051-1/+1
| | | | | | | | | | | | | 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
* valgrind: Conditional jump or move depends on uninitialised valueCaolán McNamara2015-01-051-2/+2
| | | | Change-Id: Id5125052b49e322cdfa2c7d55d68e8a7a512965c
* fdo#84938: replace NUMBERFORMAT_INT_ constants with 'enum class'Noel Grandin2015-01-053-16/+16
| | | | Change-Id: I9c67de31f5571b282adc132d973b79bccb35fdc9
* boost::unordered_map->std::unordered_mapCaolán McNamara2015-01-022-11/+10
| | | | | | you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
* Date/Time no longer loaded from rsc filesCaolán McNamara2014-12-311-44/+0
| | | | Change-Id: Ia9ed86b0d96cac76c2e1639065a4ac594c2966b1
* drop dateformatter resource loadingCaolán McNamara2014-12-311-1/+0
| | | | Change-Id: Ie94c7502b0a82ca406b8d76e18def7bab8233a00
* TimeFields not loaded from resource files anymoreCaolán McNamara2014-12-311-1/+0
| | | | Change-Id: Idf69d375eff4bfff7115e59530b37200ee79f086
* tools: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-181-13/+12
| | | | Change-Id: Idbca92ee8d38fe5839ec0aeb8ee02af3e326549d
* Revert "Work around a Clang trunk (towards 3.6) -Werror,-Wunused-value"Stephan Bergmann2014-12-181-13/+0
| | | | | | 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.
* Work around a Clang trunk (towards 3.6) -Werror,-Wunused-valueStephan Bergmann2014-12-181-0/+13
| | | | Change-Id: I3ee32c5bd379bb851f8f255faa93d96227dcff84
* tools: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-151-39/+37
| | | | Change-Id: Ifeb1aa309db401c9bb6e3184489c17d399cf145f
* remove operator>> and operator<< methodsNoel Grandin2014-12-111-5/+5
| | | | | | in favour of ReadXXX/WriteXXX methods Change-Id: I39dfeee92e5b01fdf43db3bbee0f2fc471017653
* long is 32 bit on Windows x86_64 platformDavid Ostrovsky2014-12-101-1/+1
| | | | | | | | | | | | | | 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>
* fdo#38835 strip out OString globalsNoel Grandin2014-12-051-63/+33
| | | | Change-Id: Id2eb27132fd6c1734e50c02617ce1bbb75e294a0
* loplugin:cstylecast, involving pointer to incomplete typeStephan Bergmann2014-12-051-4/+4
| | | | Change-Id: I73850d2b2ea6ff4376e25e0be39c65c35328a9a6
* Fold URE: WindowsStephan Bergmann2014-12-031-101/+0
| | | | | | | | ...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
* assert on loading timestamp in kde80951-1.htmlCaolán McNamara2014-11-251-2/+2
| | | | Change-Id: I32a9d6cc625537ab6e0940d93bf9a7544df370c8
* Mark Color::AsRGBHexString() as constMiklos Vajna2014-11-191-1/+1
| | | | Change-Id: Idf00e228c480afe2bbbb64682ed01f2c778b6d9d
* Apply pimpl to ResStringArray, to hide its internals.Kohei Yoshida2014-11-181-9/+48
| | | | Change-Id: I23969735f35e221a1aad39081ee63d02066d856f
* Build fix on Linux.Kohei Yoshida2014-11-171-0/+1
| | | | Change-Id: Iea96991a3bef08c17a8a0cbc347408dadc0061af
* Apply pimpl to Fraction.Kohei Yoshida2014-11-171-85/+133
| | | | Change-Id: I60eb597a6374b807b2264af6d5841a42e9b1c0f3
* Make these methods non-inline.Kohei Yoshida2014-11-171-0/+91
| | | | Change-Id: I0b24e34dec6c452659b224b45a6849dafe708c3b
* sal: clean up public headers with include-what-you-useMichael Stahl2014-11-179-0/+10
| | | | | | | | | 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
* coverity#982314 Logically dead codeCaolán McNamara2014-11-141-4/+1
| | | | Change-Id: Iba420f0726864cb093e17fc9f4ce5bd7a33f7721
* fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava2014-11-143-5/+5
| | | | | | | Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Fix common typos. No automatic tools. Handmade…Andrea Gelmini2014-11-123-4/+4
| | | | | | | Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* There are three positive return codes from inflateCaolán McNamara2014-11-111-1/+1
| | | | | | | | | | | #define Z_OK 0 #define Z_STREAM_END 1 #define Z_NEED_DICT 2 and we don't support dictionaries, so a Z_NEED_DICT return creates an infinite loop Change-Id: Iafb1da594962b3cb456a3223cc6d4122791718c5
* checker type doesn't work, try event typeCaolán McNamara2014-11-031-1/+1
| | | | Change-Id: I8b92c583bf1d6167b713648f417ba5569b3593ba