summaryrefslogtreecommitdiff
path: root/unotools
AgeCommit message (Collapse)Author
2014-08-22Remove some useless tools/debug.hxx includesMarcos Paulo de Souza
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 Meeks
Change-Id: I6e3ca358d88e0285fe6e07b0617f3078a5edb857
2014-08-21star* -> css::*Thomas Arnhold
Change-Id: I156d40badb1a11727d1320600a9d3af2b8b24e4a
2014-08-21unotools: use css aliasThomas Arnhold
Change-Id: I0440f589242d921e3e10e490e43f40cabd70ec9f
2014-08-21unotools: stario -> css::ioThomas Arnhold
Change-Id: I54b03d00e5cf0b0b43bf5c5db264660792baf951
2014-08-21unotools: staruno -> css::unoThomas Arnhold
Change-Id: I20a470fe654bfd1eec23dd2e0c13162a0b432a32
2014-08-21Typo: and->endJulien Nabet
Change-Id: I8c3707dbf537261d7ed9a69807fc1bdeae851526
2014-08-20Remove more useless includes of tools/debug.hxxMarcos Paulo de Souza
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 Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-11unotools: DBG_ASSERT cleanupMichael Stahl
Change-Id: I2f2c2c9627e536011aef5f1643a84c1e8f7ea176
2014-08-08java: remove unnecessary semi-colonsNoel Grandin
Change-Id: Ibeeefc6e6ee8f7bed97a02f569f239ff035d38c4
2014-08-05java: remove commented out codeNoel Grandin
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05java: remove various unused variablesNoel Grandin
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
2014-07-29Remove some unused codeMarcos Paulo de Souza
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 Nabet
Change-Id: I0c17f40b3e593ae3771fa751a817f84bf2f2323d
2014-07-14revert bad fixNoel Grandin
partially revert my commit 34cabe837dbb78 "loplugin:unreffun" Change-Id: Idbfc9d1e43180c7c14e58c7b9417f3001d9805d4
2014-07-14loplugin:unreffunNoel Grandin
Change-Id: Idc0f3ef53f48b2e77e4cecbcdbbc44a115c6ec2e
2014-07-09localized GetFullName()Andras Timar
Change-Id: I4f2bffadef3db1bd07432202525734ab9b0cb0de
2014-07-01clang scan-build: various warningsCaolán McNamara
Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
2014-06-27tweak assert so comment appears in abort messageCaolán McNamara
Change-Id: Ibf78e5cd1620f0b61cae030e3870be4a6f87e71d
2014-06-25fixes for up-casting to Reference<XInterface>Noel Grandin
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 Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-05various: remove SAL_THROW macroNoel Grandin
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-04Fix commentsIsamu Mogi
Change-Id: I7957db170ec7020c9aba915e43779e01c7b98a8c
2014-06-04compareTo -> equalsNoel Grandin
convert OUString::compareTo usage to equals to startsWith where it is more appropriate Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-06-04compareToAscii -> equalsAsciiNoel Grandin
convert places using compareToAscii that should be using equalsAscii Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
2014-06-01Fix hungarian prefix for calendarsIsamu Mogi
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 Grandin
.. now that we have a default value for that parameter Change-Id: I54d6b0a0a01ce2f2e5168ada0c427424de0477bc
2014-05-28update_pchThomas Arnhold
Change-Id: I5316693452427ed76a7738b090de023b110caa40
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-22WoE: while (..) {} instead of while(..);Douglas Mencken
"warning: suggest a space before ';' or explicit braces around empty body" Change-Id: I71a55cc888d3480217621491ecace7d0af3dca6e Reviewed-on: https://gerrit.libreoffice.org/9441 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-05-20fdo#60338: Introduce osl_createDirectoryWithFlagsStephan Bergmann
...so that utl::TempFile can pass osl_File_OpenFlag_Private and doesn't have to resort to umask (the calls to umask around Directory::create had somewhat erroneously been removed recently with 1d72a0262c4570631d0aa8f98e34e21fb9d6ae42 "Related fdo#60338: Create missing temp file dir with user's original umask," mistaking this for creation of intermediate directories in the hierarchy). On Windows, the flags argument to osl_createDirectoryWithFlags is ignored completely for now. Change-Id: Iac56a5049d579be729a3f338aa62105123edb6cb
2014-05-20enhance pass-by-ref plugin to detect large argumentsNoel Grandin
Detect arguments larger than 64 chars passed by value. Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-19WaE: -Wunused-variableThomas Arnhold
Change-Id: I52c7bcaeab874b007f90532d4609afe89d53a5df
2014-05-19fdo#60338: Add osl_File_OpenFlag_Private to avoid umaskStephan Bergmann
Change-Id: I293295244d1b089d747548c5025cb73b8ec428a4
2014-05-19Abstract over Tokens algorithmStephan Bergmann
Change-Id: I16347d52dd7c102c7bf6a8fd2926e61e6cf75c0b
2014-05-16For now, reintroduce the horrible static counter into utl::TempFileStephan Bergmann
...i.e., bug fdo#41295 and its fix rediscovered. Change-Id: If958fad74c853f51660a9e0bfffd99969052ea80
2014-05-16Consolidate CreateTempName_Impl and lcl_createName more faithfullyStephan Bergmann
This is a follow-up to fcf455d4efde077bb2b092b607de12ebfc350275 "Consolidate CreateTempName_Impl and lcl_createName," which apparently lead to hard-to- diagnose sporadic "make check" failures on some machines. Hope is that bLock now more carefully tracking the behavior of the original two functions fixes that. Change-Id: I37ba00545f5921fd603ff9f1ea46927c42e88899
2014-05-14Unify utl::TempFile ctorsStephan Bergmann
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff
2014-05-14Find places where uno::Sequence is passed by value.Noel Grandin
Implement a clang plugin to find them, and clean up existing code to pass them by reference. Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8 Reviewed-on: https://gerrit.libreoffice.org/9351 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-13Consolidate CreateTempName_Impl and lcl_createNameStephan Bergmann
Change-Id: I4dbb917a6d9343f797859a2f24fa1d92b26a51eb
2014-05-13Remove nonsensical codeStephan Bergmann
...introduced with 2d8c990f8790be43cf4dda4bc871a917b9dcc974 "INTEGRATION: CWS reportdesign01: #i79214# new method to allow to start not with zero." Change-Id: Id141b2913ceb47c0c54f4449bdcdf5130c6f355b
2014-05-13Elide utl::TempFile_ImplStephan Bergmann
Change-Id: I8f14cd351c17abaa9d48144cdf8325afc250787b
2014-05-13utl::TempFile::CreateTempName pParent is unusedStephan Bergmann
Change-Id: Ide12ea21104af678dc541ed0e83970e7a2f5e694
2014-05-13Related fdo#60338: Create missing temp file dir with user's original umaskStephan Bergmann
For one, that is consistent with how ensuredir (in the same .cxx) has always worked, and for another saves us from trouble with umask, cf. 034d4c111976f337877e5954c6cc95ed9f90a343 "Related fdo#60338: Setting umask for osl::Directory::open is useless." Change-Id: Ic3fb5bb29ca3031d257067a514cb9f5bccfbfe4f
2014-05-13Related fdo#60338: Setting umask for osl::Directory::open is uselessStephan Bergmann
Maybe 39c58e416252571a04b8ebbb56c9fa012b117993 "INTEGRATION: CWS olefix: #i46469# use correct umask on unix" had intended to put it around the osl::Directory::create call instead, but given the trouble of calling umask(3) in a MT program at all, it is probably better to keep creating any missing directories with the user's original umask anyway. Change-Id: Idfddfdab05373a3c395daba635fddcc054f3f215
2014-05-12Revert "Intermediate commit: un-revert last change"Tor Lillqvist
Makes some SmartArt render better, some a bit worse, and some much worse. Life is hard. This reverts commit f66d64ab2e85f574a4b9f644ef709ff981483836. Change-Id: I18b31deea8c14b401134551e74ba7ba208af3ad9
2014-05-11fix-includes.pl: unotoolsThomas Arnhold
Change-Id: I1b2b8d58cec548961fb06f2595fd474010ae9979
2014-05-09update_pch: add a bunch of pch filesThomas Arnhold
I had to fix some source files because of macro redefinitions and such stuff. Small modules like basic have a great win, too: make basic.clean && time make basic: with w/o pch pch accessibility 23s 1m59s basctl 30s 1m42s basic 56s 1m35s comphelper 23s 51s editeng 48s 2m04s forms 40s 1m40s unotools 19s 38s sd 3m37s 4m33s Change-Id: Id24cdcddbe2ff64820b42266325c25af1355558f Reviewed-on: https://gerrit.libreoffice.org/9293 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>