summaryrefslogtreecommitdiffstats
path: root/include/tools
Commit message (Collapse)AuthorAgeFilesLines
* Related: fdo#38838 one UniString::Search variant now unusedCaolán McNamara2013-09-141-1/+1
| | | | Change-Id: Id0b7b9bf53985f0692cd446a528274fb2009d33e
* Related: fdo#38838 remove UniString::ToLowerAsciiCaolán McNamara2013-09-131-2/+0
| | | | Change-Id: Iecb8104ea2891d5229e3ecace54e12287d9b0ac6
* Related: fdo#38838 remove XubString aliasCaolán McNamara2013-09-121-1/+0
| | | | Change-Id: I29efbe2bee94c0059f5a2e3dc4d163375e439e1a
* Related: fdo#38838 Remove String::SearchChar()Thomas Arnhold2013-09-111-1/+0
| | | | | | | 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>
* Related: fdo#38838 drop String::EmptyString now as wellCaolán McNamara2013-09-081-1/+0
| | | | Change-Id: I849dbf3a40189e700036249b15dd8bde493083b6
* Related: fdo#38838 String::GetBufferAccess is now no moreCaolán McNamara2013-09-081-1/+0
| | | | Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
* Related: fdo#38838 String::ReleaseBufferAccess is now no moreCaolán McNamara2013-09-081-1/+0
| | | | Change-Id: Ib5390183e3d98a23f9243debfe3624561ca92535
* Remove some unused code from unusedcode.easyMarcos Paulo de Souza2013-09-011-3/+1
| | | | | | | 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>
* Related: fdo#38838 remove UniString::ToUpperAsciiCaolán McNamara2013-08-301-1/+0
| | | | | | | things got a little out of hand and I ended up converting quite a bit of calc to OUString Change-Id: I056326d37ffefa8c120cb2e564d166dd9f20f216
* Related: fdo#38838 AllocBuffer is now unusedCaolán McNamara2013-08-271-1/+0
| | | | Change-Id: Ib2cf99f3dd9ce5e3acc7364d07d6b6e5d03de423
* callcatcher: update unused code, esp unused Resource based ctorCaolán McNamara2013-08-272-4/+1
| | | | | | | 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
* add some a11y relations and enable translation of msCaolán McNamara2013-08-181-1/+1
| | | | Change-Id: Ib509a7ae62aefc919bdaed269c1605ac6bae9564
* Related: fdo#38838 ToInt64 and a EqualsIgnoreCaseAscii variant are now unusedCaolán McNamara2013-08-167-9/+3
| | | | Change-Id: I2a2cc56cf005f564c798b8d43ef7e8c4b7f9eeff
* add a seconds unitCaolán McNamara2013-08-131-1/+1
| | | | Change-Id: I3507caab5cd61c282102ab21bf034ec54e497af3
* Related: fdo#38838 remove String::Equals(const sal_Unicode* ...)Caolán McNamara2013-08-101-2/+2
| | | | Change-Id: I6eeede3261e7b6f5ad81a4d2fa9ecc6c07002dbb
* fdo#67235 adapt form control code to time nanosecond API change, step 3Lionel Elie Mamane2013-08-042-3/+18
| | | | | | | 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>
* Remove effectively unused INetURLObject OString overloadsStephan Bergmann2013-07-291-283/+2
| | | | Change-Id: Icbbe27b229d5454d27be646e00e8b362a77359b3
* reduce use of UniString from ResID ctorCaolán McNamara2013-07-281-2/+1
| | | | Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
* fdo#63133: Write tools/tempfile.hxx outPalenik Mihály2013-07-161-66/+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-162-67/+4
| | | | | | | | | | | | | | | | 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-2/+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-1/+0
| | | | Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
* add degrees and pixels as known spin field unitsCaolán McNamara2013-07-081-1/+1
| | | | Change-Id: I5937843a5c5485f469ef1fb6b5844aa15c33a14d
* TODO note for future *internal* API changeLionel Elie Mamane2013-07-051-0/+1
| | | | | | Signed year so that ~all our date types have about the same capacities. Change-Id: Iab8a66bee0eb22ffd04608c345302218094e53a7
* warning C4389 != signed/unsigned mismatchMichael Stahl2013-07-041-5/+5
| | | | Change-Id: I1cc4be1e7068ce3c40340e88fcde75fc7862a18a
* SvStream: remove the error prone operator<</>>(sal_Int64)Michael Stahl2013-07-021-2/+4
| | | | | | | | | | | | | | | | | | | | | 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
* Clean String and sal_Bool in toolsNorbert Thiebaud2013-06-3032-318/+315
| | | | | | | Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* WaE: comparison between signed and unsigned integer expressionsFridrich Štrba2013-06-101-1/+1
| | | | Change-Id: I3b5e3a8bf4bbecf6bf697b91c9a16ec19045bfdf
* mingw64: change Link class to use sal_IntPtr instead of longFridrich Štrba2013-06-101-2/+2
| | | | Change-Id: I2b78c7b714ff064f2f1b8a8eb161e5e2ae121eee
* mingw64: use the right integer sizes on win64Fridrich Štrba2013-06-101-4/+4
| | | | Change-Id: Idb263ad369d2dad4fe4de924f2b2404a0fcf62d3
* fix file and lineno info for DBG_UNHANDLED_EXCEPTIONNoel Grandin2013-06-101-2/+2
| | | | | | | which I broke in commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Ic30e985cc356d81013ced1ce74ec6c78469d9882
* fix for linkingNoel Grandin2013-05-211-1/+2
| | | | | | | 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-39/+5
| | | | | | | | | | 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-2/+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
* added documentation about non-normalized invalid datesEike Rathke2013-05-171-6/+34
| | | | Change-Id: I88a95d8fac8af9085d41cf1b13c8ff3ee7abb141
* resolved fdo#63805 max day of month of the intended monthEike Rathke2013-05-171-0/+7
| | | | | | | | | 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
* fdo#63154: Remove _CL and _LF from solar.hMarcos Paulo de Souza2013-05-091-3/+0
| | | | | | | | | | | | | 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>
* Show only filename in "Recent Files" listSamuel Mehrbrodt2013-05-021-0/+8
| | | | | | | | | | | | | | | 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>
* Bin ugly (ab)use of preprocessor in headersTor Lillqvist2013-04-272-4/+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>
* fdo#63154: Remove all usages of the macro EXTERN_CMarcos Paulo de Souza2013-04-261-6/+0
| | | | | | | | | Change-Id: I25b7f509ba5d1007a16c84ad05870a8174c094ec Reviewed-on: https://gerrit.libreoffice.org/3621 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-2365-0/+13221
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a