summaryrefslogtreecommitdiff
path: root/unotools
AgeCommit message (Collapse)AuthorFilesLines
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava3-3/+3
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini5-11/+11
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-09Related: fdo#80755 Always update the thumbnailMaxim Monastirsky1-6/+3
Even if the new one is empty. That's the most simple solution for a case of retro-password protecting of an existing file. Change-Id: I7752970c1dee9ec7bf61d390b8b1618a44370e16
2014-11-05markup with event type not checker typeCaolán McNamara1-2/+4
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin2-8/+8
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-10-30Fixed typos. No automatic tools (sed, and so on).Andrea Gelmini1-1/+1
Change-Id: Ia43976d84eede6f699381bc4f3daf89b95e4cb4f Reviewed-on: https://gerrit.libreoffice.org/12150 Reviewed-by: Bryan Quigley <gquigs@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin10-10/+0
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-28coverity#704086 Unchecked return valueCaolán McNamara1-1/+1
following check is sufficient Change-Id: Ibcf53293c8e862ab823ed422d1a7a59dcc0977cf
2014-10-21Remove dead CustomerNumber functionalityStephan Bergmann1-5/+1
Change-Id: I221d3b9f0bf0f90a117fcf0caead52f2c31f7926
2014-10-21unotools: correct filename spelling - testGetEnglishSearchName.cxxChris Sherlock2-1/+1
Change-Id: I9d8bc0b8d9257e8bd2453a0707081c134cc775c3
2014-10-20fix font testsCaolán McNamara2-4/+4
Change-Id: I2738ea2a5c6714d8e43c06aa2eb4c53500a5afe9
2014-10-20Resolves: fdo#85006 limit script stripping to known suffixesCaolán McNamara1-29/+38
Change-Id: I276535b007bbb55555148d5937076b86da5de825
2014-10-11unotools: assert if TempFile::GetURL() fails due to missing file UCPMichael Stahl1-3/+3
Change-Id: I3dd844c656766835079bc191b3b55d3fba2c2219
2014-10-11move the removeTree function from desktop to unotoolsMichael Stahl1-0/+51
Change-Id: I98d3f4a68abfee42dac987633878b850134671d3
2014-10-08back out even more wrong tools::Time changes, geez..Eike Rathke1-1/+1
Change-Id: I52eb3400769999d7f554c3bdb8746f65b7990388
2014-10-01fdo#82577: Handle TimeNoel Grandin4-7/+7
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-10Typo: (N|n)ormaly->(N|n)ormallyJulien Nabet1-1/+1
Change-Id: I96d081f394b0b62d99ec1034bf5e99da9aedd9d9
2014-09-09fdo#82854 extended unit-testsMichael Jaumann1-10/+19
Conflicts: unotools/qa/unit/testGetEnlishSearchName.cxx Change-Id: Ie721cbc275998b37a4f6206079d55734b85308b0 Reviewed-on: https://gerrit.libreoffice.org/11348 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-08fdo#82854 - cleanup & review bits.Michael Meeks2-22/+6
Change-Id: Ia5b2628adb62013a22cf6c5e384154c54abc2294
2014-09-08fdo#82854 - use OUStringBuffer in fontdefs.cxx plus unit-test.Michael Jaumann4-21/+116
Change-Id: Ia3a4814467ed98bd3b1889991cc3644c0c23f515
2014-08-25set names on a bunch more threads...Michael Stahl1-0/+2
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-22Remove some useless tools/debug.hxx includesMarcos Paulo de Souza4-2/+4
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h header was necessary in some cases because of a macro or a typedef that was needed. Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9 Reviewed-on: https://gerrit.libreoffice.org/11075 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-08-22font lookup - cleanup GetEnglishSearchName function signature.Michael Meeks2-10/+11
Change-Id: I6e3ca358d88e0285fe6e07b0617f3078a5edb857
2014-08-21star* -> css::*Thomas Arnhold1-12/+12
Change-Id: I156d40badb1a11727d1320600a9d3af2b8b24e4a
2014-08-21unotools: use css aliasThomas Arnhold2-6/+6
Change-Id: I0440f589242d921e3e10e490e43f40cabd70ec9f
2014-08-21unotools: stario -> css::ioThomas Arnhold2-31/+31
Change-Id: I54b03d00e5cf0b0b43bf5c5db264660792baf951
2014-08-21unotools: staruno -> css::unoThomas Arnhold2-35/+35
Change-Id: I20a470fe654bfd1eec23dd2e0c13162a0b432a32
2014-08-21Typo: and->endJulien Nabet1-1/+1
Change-Id: I8c3707dbf537261d7ed9a69807fc1bdeae851526
2014-08-20Remove more useless includes of tools/debug.hxxMarcos Paulo de Souza8-9/+0
Change-Id: If289dcbff125ac0088f01b5c9752f9f3173585dc Reviewed-on: https://gerrit.libreoffice.org/11020 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-14java: remove commented out codeNoel Grandin1-1/+0
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-11unotools: DBG_ASSERT cleanupMichael Stahl1-37/+22
Change-Id: I2f2c2c9627e536011aef5f1643a84c1e8f7ea176
2014-08-08java: remove unnecessary semi-colonsNoel Grandin1-1/+1
Change-Id: Ibeeefc6e6ee8f7bed97a02f569f239ff035d38c4
2014-08-05java: remove commented out codeNoel Grandin2-3/+0
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05java: remove various unused variablesNoel Grandin1-1/+0
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
2014-07-29Remove some unused codeMarcos Paulo de Souza1-8/+0
Change-Id: Ib1fb5108a858c35a5bbe8ba865e15660639725e3 Reviewed-on: https://gerrit.libreoffice.org/10593 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-07-23TyposJulien Nabet1-2/+2
Change-Id: I0c17f40b3e593ae3771fa751a817f84bf2f2323d
2014-07-14revert bad fixNoel Grandin1-0/+10
partially revert my commit 34cabe837dbb78 "loplugin:unreffun" Change-Id: Idbfc9d1e43180c7c14e58c7b9417f3001d9805d4
2014-07-14loplugin:unreffunNoel Grandin1-10/+0
Change-Id: Idc0f3ef53f48b2e77e4cecbcdbbc44a115c6ec2e
2014-07-09localized GetFullName()Andras Timar1-6/+32
Change-Id: I4f2bffadef3db1bd07432202525734ab9b0cb0de
2014-07-01clang scan-build: various warningsCaolán McNamara1-2/+2
Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
2014-06-27tweak assert so comment appears in abort messageCaolán McNamara1-10/+10
Change-Id: Ibf78e5cd1620f0b61cae030e3870be4a6f87e71d
2014-06-25fixes for up-casting to Reference<XInterface>Noel Grandin1-1/+1
Fix regressions introduced with 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking Reference constructor to reduce code noise" Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin2-14/+2
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin5-65/+10
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-05various: remove SAL_THROW macroNoel Grandin2-3/+2
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-04Fix commentsIsamu Mogi1-2/+2
Change-Id: I7957db170ec7020c9aba915e43779e01c7b98a8c
2014-06-04compareTo -> equalsNoel Grandin1-1/+1
convert OUString::compareTo usage to equals to startsWith where it is more appropriate Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-06-04compareToAscii -> equalsAsciiNoel Grandin1-3/+3
convert places using compareToAscii that should be using equalsAscii Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
2014-06-01Fix hungarian prefix for calendarsIsamu Mogi1-13/+13
Change-Id: I78b3c0a8d32610e86e09ab5ad6da6cc4e0395926 Reviewed-on: https://gerrit.libreoffice.org/9566 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-29remove unnecessary NULL parameter passed to UNO ExceptionNoel Grandin1-1/+1
.. now that we have a default value for that parameter Change-Id: I54d6b0a0a01ce2f2e5168ada0c427424de0477bc