summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Related: fdo#38838 drop String::EmptyString now as wellCaolán McNamara2013-09-081-7/+0
| | | | Change-Id: I849dbf3a40189e700036249b15dd8bde493083b6
* Related: fdo#38838 String::GetBufferAccess is now no moreCaolán McNamara2013-09-081-12/+0
| | | | Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
* Related: fdo#38838 String::ReleaseBufferAccess is now no moreCaolán McNamara2013-09-081-25/+0
| | | | Change-Id: Ib5390183e3d98a23f9243debfe3624561ca92535
* getFallbackStrings() with bIncludeFullBcp47 parameterEike Rathke2013-09-051-2/+2
| | | | | | | so the various places that check the full tag first do not have to get it just to delete it again. Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
* Remove some unused code from unusedcode.easyMarcos Paulo de Souza2013-09-011-9/+0
| | | | | | | 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>
* Some OSL_WARN -> SAL_WARN_IFStephan Bergmann2013-08-311-2/+10
| | | | Change-Id: I076adcd2f94c38a74f2dce618bc16efec577ed91
* Related: fdo#38838 remove UniString::ToUpperAsciiCaolán McNamara2013-08-301-24/+0
| | | | | | | things got a little out of hand and I ended up converting quite a bit of calc to OUString Change-Id: I056326d37ffefa8c120cb2e564d166dd9f20f216
* Mark as constTakeshi Abe2013-08-282-2/+2
| | | | Change-Id: If20ac542f31dd650d6d1cc22ced618f73e1ce773
* Related: fdo#38838 AllocBuffer is now unusedCaolán McNamara2013-08-271-16/+0
| | | | Change-Id: Ib2cf99f3dd9ce5e3acc7364d07d6b6e5d03de423
* callcatcher: update unused code, esp unused Resource based ctorCaolán McNamara2013-08-271-1/+0
| | | | | | | 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
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-212-17/+17
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* Use subfolder names from <config_folders.h>Tor Lillqvist2013-08-182-1/+9
| | | | | | | | 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
* Related: fdo#38838 ToInt64 and a EqualsIgnoreCaseAscii variant are now unusedCaolán McNamara2013-08-163-42/+0
| | | | Change-Id: I2a2cc56cf005f564c798b8d43ef7e8c4b7f9eeff
* Related: fdo#38838 remove String::Equals(const sal_Unicode* ...)Caolán McNamara2013-08-102-27/+0
| | | | Change-Id: I6eeede3261e7b6f5ad81a4d2fa9ecc6c07002dbb
* fdo#67235 adapt form control code to time nanosecond API change, step 3Lionel Elie Mamane2013-08-041-0/+8
| | | | | | | 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>
* fdo#33605: Handle http etc. URLs with no path but fragmentStephan Bergmann2013-07-262-2/+24
| | | | Change-Id: I8c47cc55e7ad53e514c0bd46130cbbe6a1bb0357
* targetted clean of redundant header piece from 62badf3828Michael Meeks2013-07-264-12/+0
| | | | Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
* Mark as constTakeshi Abe2013-07-171-1/+1
| | | | Change-Id: I59ac01eacf31061093b83ab3057963de7ea4a2e7
* fdo#63133: Write tools/tempfile.hxx outPalenik Mihály2013-07-162-182/+0
| | | | | | | | | | | | 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>
* Delete SvCacheStream classPalenik Mihály2013-07-164-129/+17
| | | | | | | | | | | | | | | | 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>
* remove String::ReplaceAsciiCaolán McNamara2013-07-141-57/+0
| | | | | | last remaining users used it as a complicated way to do a simple thing Change-Id: I810b1542b03bd6faa54f6f076b58cb7d3e680ab0
* String::SearchAndReplaceAllAscii -> OUString::replaceAllCaolán McNamara2013-07-141-16/+0
| | | | Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
* SvStream: remove the error prone operator<</>>(sal_Int64)Michael Stahl2013-07-021-2/+2
| | | | | | | | | | | | | | | | | | | | | 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
* Revert "resmgr: bInUse is useless"Thomas Arnhold2013-06-301-9/+17
| | | | | | This was pretty lame. It's static. To be sure revert it. This reverts commit 504499ad9f17be5350b878fa99e814612eaffb5f.
* resmgr: bInUse is uselessThomas Arnhold2013-06-301-17/+9
| | | | Change-Id: I619d5d1ff9f6242be652674e4df54ad5c5ddc017
* WaE clang unhappy with an ambiguous if/elseNorbert Thiebaud2013-06-301-2/+3
| | | | Change-Id: I1e419793454ad5401a2d55a2c709bab08f4cf053
* Clean String and sal_Bool in toolsNorbert Thiebaud2013-06-3032-871/+867
| | | | | | | Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* make this more resilient to stream problemsDavid Tardon2013-06-201-0/+2
| | | | | | | | 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
* fdo#43460 tools: use isEmpty()Jelle van der Waa2013-06-183-21/+21
| | | | | | | 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>
* mingw64: use the right integer sizes on win64Fridrich Štrba2013-06-101-1/+1
| | | | Change-Id: Idb263ad369d2dad4fe4de924f2b2404a0fcf62d3
* fix file and lineno info for DBG_UNHANDLED_EXCEPTIONNoel Grandin2013-06-101-2/+5
| | | | | | | which I broke in commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Ic30e985cc356d81013ced1ce74ec6c78469d9882
* Some "cast from ... to ... loses precision fixes"Fridrich Štrba2013-06-041-2/+2
| | | | Change-Id: Ib1d827bfa224e8708fd1e41b1ad213bcfef9a012
* Resolves: #i115630# secured OutputDevice::ImplDrawHatch in vclArmin Le Grand2013-05-231-21/+44
| | | | | | | | | | | | 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
* fix for linkingNoel Grandin2013-05-211-1/+1
| | | | | | | caused by my commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Idfd84d987ba9151ba476ce0516a9e5fbdb2003ec
* move DBG_UNHANDLED_EXCEPTION out of lineNoel Grandin2013-05-211-0/+49
| | | | | | | | | | 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>
* Secured some places where PolyPolygons were createdArmin Le Grand2013-05-191-17/+0
| | | | | | | | | | | | | | 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
* resolved fdo#63805 max day of month of the intended monthEike Rathke2013-05-171-9/+20
| | | | | | | | | Since 6619955e72c1c2f29a32e82478d19147c0d7610a Date::GetDaysInMonth() operates on the normalized value that corresponds to the actual values set at the Date instance, obtain and set number of days for the intended month instead of using the rolled-over date. Change-Id: Ia6b007675104f8e134b278f216c3bb48b72f061c
* SolarMutex does not belong into the URE interfaceStephan Bergmann2013-05-141-2/+2
| | | | | | | | | | | | | | | | ...so move it from osl/mutex.hxx to its own comphelper/solarmutex.hxx. It looks like a newbie mistake that 59e7685d8d812ee8773f57475cbe3aa2a0bdfc81 "Create an abstract interface to be used to implement a SolarMutex" put it here in the first place. I do not consider this an incompatible change really, as no external URE client code should have used SolarMutex anyway. (Also included some clean up, like removing unused {Clearable,Resettable}SolarGuard, and spelling out SolarGuard in the few places it is used.) Change-Id: I121ffb5b7cefbc19e88b5405e5a85ffc895be852
* Resolves: #i115917# Better conversion of C1 and C2 bezier curve pointsArmin Le Grand2013-05-131-9/+37
| | | | | | | | | | | | Patch by: osnola Review by: alg (cherry picked from commit 76741df0b60b9157710f8e66720275749dbf98bd) Conflicts: tools/source/generic/poly.cxx Change-Id: I0de15a92e68b766258e285ed17365816064da141
* fdo#63154: Remove _CL and _LF from solar.hMarcos Paulo de Souza2013-05-092-23/+22
| | | | | | | | | | | | | And use RTL_CHAR_{CR,LF} from rtl/string.h Conflicts: vcl/source/app/dbggui.cxx Change-Id: I05b0325006845e48eb5483485a9042aa7b0cd22a Reviewed-on: https://gerrit.libreoffice.org/3740 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
* zlib: remove ExternalPackage_zlibMichael Stahl2013-05-081-7/+1
| | | | Change-Id: I5bce88b2044279a6563fd68c35f9c1ac824c8850
* Show only filename in "Recent Files" listSamuel Mehrbrodt2013-05-021-0/+6
| | | | | | | | | | | | | | | As discussed here: http://nabble.documentfoundation.org/Libreoffice-ux-advise-Recent-files-dropdown-td4052945.html#a4052996 The changes are (inspired by Gedit): * Display only the filename, not the (abbreviated) path * Show the protocol name before the file, if not local (e.g. "ftp: myfile.odt") * After the keyboard shortcut (a number from 1 to 10) display a '.' instead of a ':' (because the protocol has a ':') * FIX: Display whitespace as whitespace, not "%20" Change-Id: I47472c901aa866adb76c7c7ab36bc871f82ad8df Reviewed-on: https://gerrit.libreoffice.org/3700 Reviewed-by: Jan Holesovsky <kendy@suse.cz> Tested-by: Jan Holesovsky <kendy@suse.cz>
* redo fix for fdo#64078Noel Power2013-04-301-1/+1
| | | | | | use std::abs instead of labs Change-Id: Icb09fb1715d4795c718773a37e66947d67019bb7
* fix for fdo#64078Noel Power2013-04-301-1/+1
| | | | Change-Id: Ib8c70b0074485ccd8bf6095c070610fe90e22d4a
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-301-23/+4
|
* Bin ugly (ab)use of preprocessor in headersTor Lillqvist2013-04-272-2/+0
| | | | | | | | | | | | | | | The time when it made sense to use "clever" #ifdefs to, for performance or compiler reasons, conditionally bypass private parts of a class declaration passed a decade or longer ago. Still more of this in sw and sc. People working on those modules might want to do it too, or not. Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be Reviewed-on: https://gerrit.libreoffice.org/3627 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* gbuild: drop empty use_packages callsDavid Tardon2013-04-241-3/+0
| | | | | | | Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* gbuild: drop uses of removed packagesDavid Tardon2013-04-242-3/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* move URE headers to include/David Tardon2013-04-241-2/+0
| | | | | | | Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-2367-13309/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a