summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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
* tools & vcl: move OutputDevice::ImplRotatePos() to Point::RotateAbout()Chris Sherlock2014-11-012-0/+80
| | | | | | | | | | | | | | | OutputDevice has a private function that rotates a point around another point. However, there is no real reason why OutputDevice should be responsible for this - it's really the responsibility of the Point class in the tools module. Therefore, I've moved this functionality out of OutputDevice and into Point, but I've renamed it from the rather confusing name "ImplRotatePos" to "RotateAround", which is what it actually does. Change-Id: If12fb40a7b476653224d4edfc01887bc91a80c7d Reviewed-on: https://gerrit.libreoffice.org/12171 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
* coverity#1250404 Operands don't affect resultCaolán McNamara2014-11-011-0/+1
| | | | | | | trying to auto-ignore this one, so don't touch it manually in the UI so I can experiment if this syntax will correctly auto-triage in all coverity instances Change-Id: I4ae42a6828041f40c6ab8cb3cfc631c8dd38e8c8
* Removed duplicated includesAndrea Gelmini2014-10-311-2/+0
| | | | | | | Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6 Reviewed-on: https://gerrit.libreoffice.org/12160 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* WaE: C4101: 'unused' : unreferenced local variableTor Lillqvist2014-10-281-1/+1
| | | | Change-Id: I511c2df37c7feda8a3ffa311074bcf2fe669a73a
* fix build on android-arm tinderboxDavid Tardon2014-10-281-2/+2
| | | | Change-Id: If528f3cbaab66ceec07e35b479b4fe2ed55aa3c7
* fdo#81356: use boost::rational internally in FractionJuan Picca2014-10-282-304/+190
| | | | | | | Change-Id: I6f40eafee7652209395bd471e3508fe3a3d19d73 Reviewed-on: https://gerrit.libreoffice.org/12085 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* coverity#1242531 Untrusted loop boundCaolán McNamara2014-10-281-0/+6
| | | | Change-Id: I94308a517028a62ecf7018f6d7a4e9d37c0f56a6
* cid#705051 Dereference after null checkNoel Grandin2014-10-271-1/+1
| | | | Change-Id: I6b7adb593efa137bb09b3b8d49539f6cd405dd20
* Explicitly include the cmath std::abs overloadsStephan Bergmann2014-10-241-0/+1
| | | | Change-Id: I501edd8f3301f70e6130d844dcd64cac8b18598f
* Fix Fraction(-2147483648.0) for 32-bit wide longStephan Bergmann2014-10-242-1/+8
| | | | Change-Id: I6465377de1edff5d0ccc0049fb6d24f6f1223fd2
* Fract: enable testsJuan Picca2014-10-242-9/+1
| | | | | | | Change-Id: I00650503f15f2dcd45b07e3c529965336e8391e6 Reviewed-on: https://gerrit.libreoffice.org/12080 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Fraction: Revert "fdo#81356: convert Fraction to boost::rational<long> - wip"Jan Holesovsky2014-10-236-276/+616
| | | | | | | | | | | | | | This reverts commit 47a2d7642d249d70b5da0c330a73f3a0032e4bba. Conflicts: cui/source/tabpages/transfrm.cxx svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdibrow.cxx sw/source/filter/ww1/w1filter.cxx tools/source/generic/rational.cxx Change-Id: I4849916f5f277a4afef0e279b0135c76b36b9d15
* Fraction: Revert "just check if the fraction is < 0"Jan Holesovsky2014-10-231-1/+1
| | | | This reverts commit 8afab33d161ddd39a3e6094b5daa08b156ef0421.
* Fraction: Revert "simplify condition"Jan Holesovsky2014-10-231-1/+1
| | | | This reverts commit ad1f796b1dc710a02ade17c95e99d11412f1280a.
* Fraction: Revert "fdo#84854 it seems long is not enough on 32 bit"Jan Holesovsky2014-10-232-9/+9
| | | | | | | | | | | | This reverts commit 582ef22d3e8e30ffd58f092d37ffda30bd07bd9e. Conflicts: svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdibrow.cxx sw/source/filter/ww1/w1filter.cxx Change-Id: I80abc7abdeddc267eaabc9f8ab49611bb3f8ae83
* coverity#440777 Resource leak in objectCaolán McNamara2014-10-231-16/+20
| | | | | | rework to avoid the warning Change-Id: Id104c01b04e07ffaaf503a842c978acbc8a22a19
* work around windows whiningNorbert Thiebaud2014-10-181-3/+4
| | | | Change-Id: If2922bca25c93edc25e1171001def8ce3011cf4c
* another blind attempt to fix the testDavid Tardon2014-10-171-2/+2
| | | | Change-Id: I7ac53b340cf3a9f72a90414e09ddd37148ecd28a
* correct castDavid Tardon2014-10-171-2/+2
| | | | Change-Id: Ic79ce25bf4ceb4d715aabdabf3824304b02b1f38
* now why did i do this?David Tardon2014-10-171-1/+1
| | | | Change-Id: Icf1fc5643271672761b565c30382e70c689c29b4
* fix long long -> BigInt for LONG_MAX valueDavid Tardon2014-10-171-7/+7
| | | | Change-Id: I1cf551299bae925b5a5cf0a488b6cc3497d010bf
* fix copypastaDavid Tardon2014-10-171-1/+0
| | | | Change-Id: I08383e3086eef8e7c8136293d51b7108807a7def
* fix comparisonDavid Tardon2014-10-171-4/+4
| | | | Change-Id: Ia7f65d69c186056527a2beb72a18f4a66e4c6586
* correct function nameDavid Tardon2014-10-171-1/+1
| | | | Change-Id: Ibc3ab15bc830d68bf9d3d1d9ac9595d82c7fb6aa
* allow construction of BigInt from sal_Int64 on 32 bitDavid Tardon2014-10-173-0/+142
| | | | Change-Id: Ib68920fc9bd693d2f2679b4fc27d9956dc42fc86