summaryrefslogtreecommitdiff
path: root/unotools
AgeCommit message (Collapse)Author
2013-03-12Keep concatenating adjacent string literals via juxtaposition instead of +Stephan Bergmann
Change-Id: I098a8d657ed5ac1976013e1ee370ef76ed2242db
2013-03-11unotools: use return value of copy()Thomas Arnhold
Change-Id: I8eaa40197e2ea25d52af920e03b0fd0e32e94847
2013-03-11fdo#38838: Converting String/UniString to OUStringelixir
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 Pinter
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. Rossmanith
Change-Id: I2911e50ddcd007d80498b9d65efd14368ac3baca
2013-03-10Removed RTL_CONSTASCII_USTRINGPARAM in unotoolsChr. Rossmanith
Change-Id: I516ea0e5457e9dc1cc9ac42f86fa1a5b4641078a
2013-03-08make use of startsWith()Thomas Arnhold
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 Arnhold
Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-08Revert "simplify some compareTo"Stephan Bergmann
This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b, s1.compareTo(s2, length-of-s2) is *not* equivalent to s1 == s2
2013-03-08simplify some compareToThomas Arnhold
Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98
2013-03-07WIP: fdo#47011 autosave featureKrisztian Pinter
Change-Id: Ib2cbcc33e6188c60c183b5f47e9ae9c9d4c91b95
2013-03-07fdo#46808, simplify OConfigurationTreeRoot constructorNoel Grandin
.. 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 pluginnccuong
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 Arnhold
Change-Id: Ib6684fe00e063e150af30477fd704d9b3f029282
2013-03-04doubled namespacesThomas Arnhold
Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
2013-03-04doubled includesThomas Arnhold
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04callcatcher: unused codeCaolán McNamara
Change-Id: I7dcaa6f57815321e108cd7ce284fe145dc0506f2
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
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 King
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 Stahl
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-25loplugin: improve indentationThomas Arnhold
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25fdo#60724 - change 'charcter' to 'character'sadam36
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 Arnhold
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
2013-02-24fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac
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 Nabet
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
2013-02-23sal: update log areasThomas Arnhold
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-20typo: allways -> alwaysAndras Timar
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-17spelling: otherwhise -> otherwiseIvan Timofeev
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
2013-02-15do not use the raw locale for osl_getTextEncodingFromLocale()Eike Rathke
Change-Id: Iab7402721b5fbf20a05c9ff2725e52b012df2940
2013-02-14Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac
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 Grandin
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 Grandin
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 Rouvignac
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 Stahl
- 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 Stahl
... 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 Grandin
.. everywhere that was using createWithServiceFactory, and delete the old method. Change-Id: I02cb2bfbcc2390494383579d2f14caa4fc5b8014
2013-01-09fdo#46808, new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin
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 Lillqvist
2013-01-01remove use of #pragma optimizeLuboš Luňák
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 Lillqvist
Broke a unit test and made all tinderboxes red. This reverts commit 3179055dc3e267c961a5618c810fbc0df1858d72.
2012-12-28String Cleanup and news OUString methods/constructorsRicardo Montania
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 Holesovsky
Change-Id: I0ec321e1e4cdf7f20dba31f42ff493b2f3c7e74d
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
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 McNamara
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 Meeks
2012-12-17Resolves: fdo#31055 fallback to a default bullet on symbol lackCaolán McNamara
a) fix up some entries in Wingdings for which we do have a suitable mapping after all b) on complete failure for mapping to OpenSymbol show a default bullet, which is better than no glyph c) document that the original tables were against StarSymbol which had extra glyphs (and/or I thought it had) Change-Id: I5e43cc0a5216e76d00b7df1a69967e08c3656e21
2012-12-13added FIXME-BCP47 marker, adapted debug checkEike Rathke
Change-Id: I334b00c907099517d327bf6314c4e853530a58cf
2012-12-04more explicit ctorsDavid Tardon
Change-Id: If91343890d9ed29ff2887e47c7c0a332baa5a8e1
2012-12-01fix SAL_WARN_UNUSED placementLuboš Luňák
Change-Id: Icd320e2a7459b1850de42c83854ab8a905d97a56