summaryrefslogtreecommitdiff
path: root/unotools
AgeCommit message (Collapse)AuthorFilesLines
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-3/+0
2013-03-12Polishing 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10Chr. Rossmanith1-5/+3
Change-Id: I73334fca8429dc0ad4250ce638027fa52245dec4 Reviewed-on: https://gerrit.libreoffice.org/2676 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-12Remove RTL_CONSTASCII_STRINGPARAM (unotools)Chr. Rossmanith3-37/+26
Change-Id: Id6f9a357431a636c5982964452a0f067e884da96
2013-03-12tempfile: Creating tempfiles in a given folder is not usedThomas Arnhold1-1/+0
It's always the case, that the default temp folder is used. aName and aRet are always empty, pParent is no longer used. So the pParent argument makes no sense anymore. bDirectory makes no sense without pParent and is apparently unused (always sal_False by default). The include of tools/tempfile.hxx in unotools/tempfile.cxx in not necessary. Conflicts: tools/source/fsys/tempfile.cxx Change-Id: I9c53b263a640e53140a8ae8795181b1c5e43f26d
2013-03-12Keep concatenating adjacent string literals via juxtaposition instead of +Stephan Bergmann1-5/+2
Change-Id: I098a8d657ed5ac1976013e1ee370ef76ed2242db
2013-03-11unotools: use return value of copy()Thomas Arnhold1-2/+2
Change-Id: I8eaa40197e2ea25d52af920e03b0fd0e32e94847
2013-03-11fdo#38838: Converting String/UniString to OUStringelixir3-60/+75
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11fdo#47011 autosave featureKrisztian Pinter1-15/+1
removed unnecessary prop. name "Document/UserAutoSave" from saveopt.cxx fixed autosave feature setting "losing its value" set autosave feature default value to False Change-Id: I473154b21bab53bf595a5a59e87dc16e472dcbf9 Reviewed-on: https://gerrit.libreoffice.org/2663 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-03-11Remove RTL_CONSTASCII_STRINGPARAM (unotools)Chr. Rossmanith22-305/+282
Change-Id: I2911e50ddcd007d80498b9d65efd14368ac3baca
2013-03-10Removed RTL_CONSTASCII_USTRINGPARAM in unotoolsChr. Rossmanith4-26/+26
Change-Id: I516ea0e5457e9dc1cc9ac42f86fa1a5b4641078a
2013-03-08make use of startsWith()Thomas Arnhold1-1/+1
Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679 Reviewed-on: https://gerrit.libreoffice.org/2599 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-08simplify compareTo (now correct)Thomas Arnhold1-1/+1
Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-08Revert "simplify some compareTo"Stephan Bergmann1-1/+1
This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b, s1.compareTo(s2, length-of-s2) is *not* equivalent to s1 == s2
2013-03-08simplify some compareToThomas Arnhold1-1/+1
Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98
2013-03-07WIP: fdo#47011 autosave featureKrisztian Pinter2-2/+60
Change-Id: Ib2cbcc33e6188c60c183b5f47e9ae9c9d4c91b95
2013-03-07fdo#46808, simplify OConfigurationTreeRoot constructorNoel Grandin2-5/+5
.. doesn't need to take comphelper::ComponentContext as a param anymore, can now use Reference<XComponentContext> Change-Id: Ie5fbe0c9e8459cc612426ffa9474f955b28593e3
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong1-11/+14
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-04remove trailing whitespacesThomas Arnhold1-1/+1
Change-Id: Ib6684fe00e063e150af30477fd704d9b3f029282
2013-03-04doubled namespacesThomas Arnhold2-2/+0
Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
2013-03-04doubled includesThomas Arnhold1-1/+0
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04callcatcher: unused codeCaolán McNamara2-8/+0
Change-Id: I7dcaa6f57815321e108cd7ce284fe145dc0506f2
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold6-7/+7
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-02Typo fix: informations -> information and a few other adjacent typos.Gregg King17-17/+17
FDO:60724 Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b Reviewed-on: https://gerrit.libreoffice.org/2479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-25loplugin: improve indentationThomas Arnhold1-14/+7
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25fdo#60724 - change 'charcter' to 'character'sadam361-1/+1
Changed all occurrences of 'charcter' found by git grep. All of them were used in comments only, so it should not break anything. Change-Id: Ief2c00d929ae7972c55a4920fc0eaa8d6b18ab82 Reviewed-on: https://gerrit.libreoffice.org/2372 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-02-25loplugin: unused variablesThomas Arnhold1-7/+0
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
2013-02-24fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac1-2/+2
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-23Fix typo accessable/accessibleJulien Nabet3-3/+3
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
2013-02-23sal: update log areasThomas Arnhold4-29/+24
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet1-1/+1
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-20typo: allways -> alwaysAndras Timar1-3/+3
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-17spelling: otherwhise -> otherwiseIvan Timofeev1-1/+1
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
2013-02-15do not use the raw locale for osl_getTextEncodingFromLocale()Eike Rathke1-3/+15
Change-Id: Iab7402721b5fbf20a05c9ff2725e52b012df2940
2013-02-14Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac2-20/+12
ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f Reviewed-on: https://gerrit.libreoffice.org/1954 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-11fdo#46808, remove unused header fileNoel Grandin4-63/+0
The inline method in the header file is no longer used anywhere. Change-Id: If3ee13778e45edb619393e6adb2daa38d6cf4d35
2013-02-11fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin3-38/+17
And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac1-7/+6
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl1-0/+2
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-18PRODUCTEXTENSION: fix various obvious strings and such...Michael Stahl1-1/+0
... to look pretty; most of these expect PRODUCTEXTENSION to be a word like "Beta" but nowadays it is ".micro.rc.alphabeta" numbers so there should be no space before it. ReplaceStringHookProc adds insult to injury by refusing to replace %ABOUTBOX variables unless some %PRODUCT is in the string. Change-Id: Ib676f3837ab0785529a226fc9359e8defacf3459
2013-01-09fdo#46808, use new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin4-27/+6
.. everywhere that was using createWithServiceFactory, and delete the old method. Change-Id: I02cb2bfbcc2390494383579d2f14caa4fc5b8014
2013-01-09fdo#46808, new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin2-0/+21
and use it to replace usage of createWithServiceFactory, and thus replace usage of XMultiServiceFactory. Change-Id: Id2f44066683ce17cf7a22f80916031556ef0e82a
2013-01-06The "ProductSource" (MWS name) makes no sense any moreTor Lillqvist2-16/+1
2013-01-01remove use of #pragma optimizeLuboš Luňák1-11/+0
All these are years old, guessing from some comments as old as Windows 9x support. These workarounds do not seem to be needed now. Change-Id: If67baa5cdefcec33b28696c764b1ed96143b7ccd
2012-12-29Revert "String Cleanup and news OUString methods/constructors"Tor Lillqvist2-159/+24
Broke a unit test and made all tinderboxes red. This reverts commit 3179055dc3e267c961a5618c810fbc0df1858d72.
2012-12-28String Cleanup and news OUString methods/constructorsRicardo Montania2-24/+159
Change-Id: Ia6142020330d0e12650fdc519b66f00e607eac42 Reviewed-on: https://gerrit.libreoffice.org/1491 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-12-28Get rid of C2U in unotools.Jan Holesovsky2-24/+17
Change-Id: I0ec321e1e4cdf7f20dba31f42ff493b2f3c7e74d
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin1-6/+3
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-18Related: fdo#50284 apple's modern symbol font is unicode encodedCaolán McNamara1-5/+95
So codepoints that are from the legacy range need to be converted to their unicode equivalents even in the presence of an installed "symbol" font on MacOSX. This should work out ok if input codepoints that exist in the apple symbol unicode are used, they should be left untouched by this conversion. Change-Id: Ia9996e2d9bf632c86c8d26832d77c7c662cf1076
2012-12-1732bit compile fix for OString::valueOf usage.Michael Meeks1-2/+2