summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2013-10-08Related: fdo#38838 remove UniString::SearchAndReplaceAllCaolán McNamara
Change-Id: I093c95b8700b628375d69293022f7d4b8da2af9c
2013-10-08CID#1079187 try and silence this warningCaolán McNamara
Change-Id: Iee35eea6c9729e933feb9fa1c781c8b89566b7d8
2013-10-07Related: fdo#38838 remove UniString::SearchAndReplaceAsciiCaolán McNamara
Change-Id: I86019d7ab248679cd8518a621fe8e3721b44aeb0
2013-10-02-Werror,-Wunused-functionStephan Bergmann
Change-Id: I8167a8134b043fa1737d9a1ea67c9401de1a38da
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann
Change-Id: I12fcd2ec83101117eda03de04789e6bce5371b54
2013-10-01Related: fdo#38838 remove UniString::AssignAsciiCaolán McNamara
Change-Id: I263ef2594080ff7d47d5499c2b62e60e1689d2d6
2013-09-30Introduce ASCII case conversion and use more/rtl/character.hxx.Arnaud Versini
Also remove all others implementations. Change-Id: I1dc108a9103f087bd8ce591dff2ac5dd254746f8 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-09-27Related: fdo#38838 remove UniString::SearchBackwardCaolán McNamara
Change-Id: Ia474ee07b1bd411eae8cd1ddd55c4fa83dbd5f47
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-22Related: fdo#38838 remove UniString::CompareIgnoreCaseToAsciiCaolán McNamara
Change-Id: I4a9b34d63d2534a35aa9a878b8c2bec15262c2be
2013-09-22Related: fdo#38838 remove UniString::InsertAsciiCaolán McNamara
Change-Id: I949b62842d77fe83caed2cc79784fe1e3f3ae400
2013-09-14Related: fdo#38838 one UniString::Search variant now unusedCaolán McNamara
Change-Id: Id0b7b9bf53985f0692cd446a528274fb2009d33e
2013-09-13Related: fdo#38838 remove UniString::ToLowerAsciiCaolán McNamara
Change-Id: Iecb8104ea2891d5229e3ecace54e12287d9b0ac6
2013-09-11Related: fdo#38838 Remove String::SearchChar()Thomas Arnhold
Change-Id: Ide40e0ef91aec04c2ae274aaf2a957dd5064854c Reviewed-on: https://gerrit.libreoffice.org/5894 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-08Related: fdo#38838 drop String::EmptyString now as wellCaolán McNamara
Change-Id: I849dbf3a40189e700036249b15dd8bde493083b6
2013-09-08Related: fdo#38838 String::GetBufferAccess is now no moreCaolán McNamara
Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
2013-09-08Related: fdo#38838 String::ReleaseBufferAccess is now no moreCaolán McNamara
Change-Id: Ib5390183e3d98a23f9243debfe3624561ca92535
2013-09-05getFallbackStrings() with bIncludeFullBcp47 parameterEike Rathke
so the various places that check the full tag first do not have to get it just to delete it again. Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
2013-09-01Remove some unused code from unusedcode.easyMarcos Paulo de Souza
Change-Id: Ic3e96eebbb914c5b905a8c58532ead9cb01dd41d Reviewed-on: https://gerrit.libreoffice.org/5721 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-31Some OSL_WARN -> SAL_WARN_IFStephan Bergmann
Change-Id: I076adcd2f94c38a74f2dce618bc16efec577ed91
2013-08-30Related: fdo#38838 remove UniString::ToUpperAsciiCaolán McNamara
things got a little out of hand and I ended up converting quite a bit of calc to OUString Change-Id: I056326d37ffefa8c120cb2e564d166dd9f20f216
2013-08-28Mark as constTakeshi Abe
Change-Id: If20ac542f31dd650d6d1cc22ced618f73e1ce773
2013-08-27Related: fdo#38838 AllocBuffer is now unusedCaolán McNamara
Change-Id: Ib2cf99f3dd9ce5e3acc7364d07d6b6e5d03de423
2013-08-27callcatcher: update unused code, esp unused Resource based ctorCaolán McNamara
e.g. no ImageRadioButton is now loaded from any res/rsc file, so that ctor and associated code paths can be stripped out Change-Id: Ic4cf19d45adb7c734f150e0b89eef193157a74a7
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-16Related: fdo#38838 ToInt64 and a EqualsIgnoreCaseAscii variant are now unusedCaolán McNamara
Change-Id: I2a2cc56cf005f564c798b8d43ef7e8c4b7f9eeff
2013-08-10Related: fdo#38838 remove String::Equals(const sal_Unicode* ...)Caolán McNamara
Change-Id: I6eeede3261e7b6f5ad81a4d2fa9ecc6c07002dbb
2013-08-04fdo#67235 adapt form control code to time nanosecond API change, step 3Lionel Elie Mamane
Change-Id: I4899c89ee5b2a54c9c05b531ab284365f1558e3d Reviewed-on: https://gerrit.libreoffice.org/5270 Tested-by: Lionel Elie Mamane <lionel@mamane.lu> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-07-26fdo#33605: Handle http etc. URLs with no path but fragmentStephan Bergmann
Change-Id: I8c47cc55e7ad53e514c0bd46130cbbe6a1bb0357
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
2013-07-17Mark as constTakeshi Abe
Change-Id: I59ac01eacf31061093b83ab3057963de7ea4a2e7
2013-07-16fdo#63133: Write tools/tempfile.hxx outPalenik Mihály
I deleted TempFile class and changed it to utl::TempFile class -which in unotools/tempfile.hxx- in the followings: Storage, StgTmpStrm, SwXMailMerge classes; and RenderAsEMF function. I modified header in precompiled_sw.hxx. Change-Id: I3dae5333dc42538e1b905f6a6bbc85534c591dc1 Reviewed-on: https://gerrit.libreoffice.org/4938 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-16Delete SvCacheStream classPalenik Mihály
I changed SvCacheStream class to SvMemoryStream class in the following: MSE40HTMLClipFormatObj, SfxLockBytesItem, SwEditShell, INetMIMEMessageStream classes, MakeLockBytes_Impl function and SwUnoCursorHelper namespace. I modified header the precompiled_sw.hxx, wrtsh1.cxx, unoobj2.cxx. I added two functions in SvMemoryStream class: GetBuffer and GetSize, and I renamed the old GetSize function to GetBufSize. I deleted SvCacheStream class. Change-Id: I929236538dfbe23cccfd1eb85f10c1d5411baa8d Reviewed-on: https://gerrit.libreoffice.org/4847 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-14remove String::ReplaceAsciiCaolán McNamara
last remaining users used it as a complicated way to do a simple thing Change-Id: I810b1542b03bd6faa54f6f076b58cb7d3e680ab0
2013-07-14String::SearchAndReplaceAllAscii -> OUString::replaceAllCaolán McNamara
Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
2013-07-02SvStream: remove the error prone operator<</>>(sal_Int64)Michael Stahl
As the recent regression after merging AOO patch adding code serializing "long" variables has shown, this overload (which was added in 7b2a0e541567be9750dfc7d98374555967da3470) is a bad idea. In a unxlngx build, nm finds uses of the symbols _ZN8SvStreamrsERl and _ZN8SvStreamlsEl in these files: - sbxvalue.cxx: this appears to be a legitimate use with sal_Int64 - dateitem.cxx: this was accidentally changed by commit 9830fd36dbdb72c79703b0c61efc027fba793c5a - atrfrm.cxx: this was added for Table Autoformat enhancement in 7e8c0bd73ee59ff3041e55268c77203373962e51, which is after the sal_Int64 operators were added, so the file format is now platform dependent Change-Id: I78352b5429b53612c4831cdb81b587b5de5180a9
2013-06-30Revert "resmgr: bInUse is useless"Thomas Arnhold
This was pretty lame. It's static. To be sure revert it. This reverts commit 504499ad9f17be5350b878fa99e814612eaffb5f.
2013-06-30resmgr: bInUse is uselessThomas Arnhold
Change-Id: I619d5d1ff9f6242be652674e4df54ad5c5ddc017
2013-06-30WaE clang unhappy with an ambiguous if/elseNorbert Thiebaud
Change-Id: I1e419793454ad5401a2d55a2c709bab08f4cf053
2013-06-30Clean String and sal_Bool in toolsNorbert Thiebaud
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-20make this more resilient to stream problemsDavid Tardon
The metafile stream read in ooxmlexport test for fdo51550.odt is broken for some reason, so mnTotalSize is not initialized. That means that we try to seek by an arbitrary value in the destructor. Change-Id: I3bd5ef3708c816fc8a749b446cecf98c3aa52f65
2013-06-18fdo#43460 tools: use isEmpty()Jelle van der Waa
Change-Id: I832473cab555d8ac5c6b2a47d51124ac63e996e9 Reviewed-on: https://gerrit.libreoffice.org/4333 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-10mingw64: use the right integer sizes on win64Fridrich Štrba
Change-Id: Idb263ad369d2dad4fe4de924f2b2404a0fcf62d3
2013-06-10fix file and lineno info for DBG_UNHANDLED_EXCEPTIONNoel Grandin
which I broke in commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Ic30e985cc356d81013ced1ce74ec6c78469d9882
2013-06-04Some "cast from ... to ... loses precision fixes"Fridrich Štrba
Change-Id: Ib1d827bfa224e8708fd1e41b1ad213bcfef9a012
2013-05-23Resolves: #i115630# secured OutputDevice::ImplDrawHatch in vclArmin Le Grand
and PolyPolygon::Optimize in tools to useful fallbacks when working on PolyPolygons (what they do *not* support) (cherry picked from commit dbe489ab9766d96c5cafb079bc4778103bded783) Conflicts: vcl/source/gdi/outdev4.cxx Change-Id: I5d2374ec95702cb0cab29d2e82710d4aa29fa823
2013-05-21fix for linkingNoel Grandin
caused by my commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Idfd84d987ba9151ba476ce0516a9e5fbdb2003ec
2013-05-21move DBG_UNHANDLED_EXCEPTION out of lineNoel Grandin
makes it easier to set a breakpoint on it. Plus it's getting a little big to be a macro. Change-Id: I2827aa3618ba966fbc85a4a56e0e794a55630730 Reviewed-on: https://gerrit.libreoffice.org/3988 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-19Secured some places where PolyPolygons were createdArmin Le Grand
using a all-points count and a all-points array (cherry picked from commit 8ee49906f04106317997e9ca3bb890870816e274) Conflicts: svtools/source/filter/wmf/enhwmf.cxx svtools/source/filter/wmf/winwmf.cxx tools/inc/tools/poly.hxx tools/source/generic/poly2.cxx Change-Id: I57f7f08d8dd87c83c30ab2d16ca22b772b2bd834