summaryrefslogtreecommitdiff
path: root/framework
AgeCommit message (Collapse)Author
2013-03-31fdo#62096 Replace O(U)String compareTo with ==Efe Gürkan YALAMAN
Change-Id: Id89b7eeb09b5cd7cee449cd1a20fb13b630f29c4 Reviewed-on: https://gerrit.libreoffice.org/3136 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-30fix loplugin unused warningsPeter Foley
Change-Id: I23fc6bf62e74f192f77c74ed48d5276737375f3c
2013-03-29ResMgr with LanguageTagEike Rathke
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-28we really don't need to assign the same value againEike Rathke
... to be extra sure? Change-Id: I00d6cfafe5419b01e3e827377be030b5d1a4ee34
2013-03-28eliminated useless back and forth conversionEike Rathke
Why convert back and forth between LanguageTag (formerly comphelper::Locale) if all you need and use is a BCP47 string. Change-Id: I1ec12186284211bcd7d115ee092c195b926e7cd0
2013-03-28use LanguageTag instead of comphelper::LocaleEike Rathke
Change-Id: I2c6d07bbdef62fa17e9c90ca87be6e742268c54f
2013-03-27Use <config_features.h> instead of -DLIBO_FEATURE_*Tor Lillqvist
Change-Id: Idc198beb6d759dbe3bad6ea58d896c1555b4cc0f
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-25remove external include guardsThomas Arnhold
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-26framework::RecentFilesMenuController clean-up, add clear item.Ariel Constenla-Haile
Conflicts: framework/inc/uielement/recentfilesmenucontroller.hxx framework/source/uielement/recentfilesmenucontroller.cxx Change-Id: Ia8b861b42bd77a90dce3bebdfa6aefd5e5cd91dd
2013-03-26Check feature test macros instead of ANDROID and/or IOSTor Lillqvist
Pass -DLIBO_FEATURE_FOO to compiler for some elements in BUILD_TYPE. BUILD_TYPE has at least two kinds of elements: Those that indicate building a bundled copy of some 3rd-party library, and those that indicate some specific feature of the LibreOffice platform or build-time configuration choice. This is for the latter kind. Change many of the checks for Android and/or iOS in the source code to check LIBO_FEATURE_DESKTOP, LIBO_FEATURE_HELP or DISABLE_EXTENSIONS instead, in cases where that is what is meant, not Android or iOS specifically. Change-Id: I2cd3f3bb99e953c7754dcea76a426f8f9d61e4db
2013-03-26Lock files make no sense on Android or iOSTor Lillqvist
Change-Id: Ie8d05b8596fb7d17e057bc32c7a4204a9ff54021
2013-03-25There are many ships in the port of Hamburg but "ownership" is not oneTor Lillqvist
Change-Id: I971390d084b08293b21fdc35beb74482a1560bb8
2013-03-25Duplicate REPLACELENGTH_PATH macro definitionStephan Bergmann
Change-Id: Ia9ff049f1704d9840bf2de2f266d762671114e86
2013-03-20Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann
...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-18cleanup doxygen warningsPeter Foley
Change-Id: I9181cad5bfa93f9e8b3d944b2b50a3ccc0b42595
2013-03-16Resolves: #i118556# replace framework::OUStringHashCode with rtl::OUStringHashAriel Constenla-Haile
The framework module uses its own hash functions with rtl::OUString's. It can be replaced by rtl::OUStringHash. The class framework::OUStringHash can be renamed to framework::OUStringHashMap, for the sake of clarity only (there is no risk of name clash because of different namespaces). Conflicts: framework/inc/classes/converter.hxx framework/inc/stdtypes.h framework/inc/uiconfiguration/moduleuicfgsupplier.hxx framework/inc/uiconfiguration/moduleuiconfigurationmanager.hxx framework/inc/uiconfiguration/uiconfigurationmanager.hxx framework/inc/uielement/menubarmanager.hxx framework/inc/xml/eventsdocumenthandler.hxx framework/source/fwe/classes/addonsoptions.cxx framework/source/fwi/classes/converter.cxx framework/source/uiconfiguration/uiconfigurationmanagerimpl.hxx framework/source/uielement/toolbarsmenucontroller.cxx Change-Id: I5e6918bf973b0ca5501473341051782a0dd1a238
2013-03-15drop unused includeDavid Tardon
Change-Id: Icda3d24a67c8bbe5aafcf5c917d0f930e534c6be
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-13fdo#60724: Fix spelling avaliable -> available.Steven Meyer
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-11use startsWith() instead of compareToAscii()Thomas Arnhold
brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-09coverity#705655: fix memory leakMarkus Mohrhard
Change-Id: Icf514d2f7cf678cb347c2e114f01ae8f56e2e999
2013-03-09simplify code a bitMarkus Mohrhard
Change-Id: Id965dd79ab8401a2ba7eb8266bba642f80cbe0d3
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
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-08fwk: some follow up of rtl cleanupThomas Arnhold
Change-Id: I434e714b6e5a38795c0baca85b51eef85a4732fd
2013-03-08RTL_CONSTASCII_USTRINGPARAM and ::rtl:: removalsKrisztian Pinter
Change-Id: Ief6418425676d6943993513c4d05c8d22e4740cf Reviewed-on: https://gerrit.libreoffice.org/2470 Tested-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-07WIP: fdo#47011 autosave featureKrisztian Pinter
Change-Id: Ib2cbcc33e6188c60c183b5f47e9ae9c9d4c91b95
2013-03-07fdo#46808, Convert ui::UIConfigurationManager to new-styleNoel Grandin
Change-Id: I62c37eb6d0e0b2a681a84e1fa0067d0a9f967cf2
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-05doubled usingThomas Arnhold
Change-Id: Ib1d3213a688194bfb027b7bca5bd9ac1b7bb1b28
2013-03-04sal_Bool to boolTakeshi Abe
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-04doubled namespacesThomas Arnhold
Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
2013-03-04doubled includesThomas Arnhold
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04fdo#46808, Use service constructor for task::InteractionHandlerNoel Grandin
a lot of code was loading the service using it's implementation name, which is why this got missed earlier. Change-Id: I0b150bc9383a1a3a09ab905c4ddb7f914e69638d
2013-03-04fdo#46808, convert task::StatusIndicatorFactory to new styleNoel Grandin
the service already existed, it just needed an IDL file. Change-Id: I84c8e48e176ec3a38ac48a7abcec7463390523b9
2013-03-04fdo#46808, Convert the menu classes in framework to XComponentContextNoel Grandin
Change-Id: Ia800083ab052dd648e25d6ee3ac284a017d2176e
2013-03-04fdo#46808, Convert frame::DispatchRecorder to new styleNoel Grandin
API CHANGE: dropped the XIndexReplace interface because no-one is using it. Change-Id: Iad77af588a070b22f2fce007a6ec4641758997a8
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-03loplugin: improve indentationThomas Arnhold
Change-Id: If0ddaa8fd7cfaf4df8589422cb50ce37f1be2ad1
2013-03-03loplugin: unused variables and commented codeThomas Arnhold
Change-Id: I01f1f1d112767b576d7cfc6e25fe95385de2c0cf
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