a5b57622f9
coverity#1187865 Uninitialized scalar field
...
Change-Id: I69026472ac720f0dd41710033b3ec3b5f14ccb2c
2014-02-27 12:58:51 +00:00
fcbefea017
Remove visual noise from framework
...
Conflicts:
framework/inc/dispatch/oxt_handler.hxx
framework/inc/services/layoutmanager.hxx
framework/inc/tabwin/tabwindow.hxx
framework/source/dispatch/menudispatcher.cxx
framework/source/helper/dockingareadefaultacceptor.cxx
framework/source/helper/ocomponentaccess.cxx
framework/source/helper/ocomponentenumeration.cxx
framework/source/helper/oframes.cxx
framework/source/layoutmanager/toolbarlayoutmanager.hxx
framework/source/recording/dispatchrecorder.cxx
framework/source/services/desktop.cxx
framework/source/services/frame.cxx
framework/source/services/urltransformer.cxx
Change-Id: Ibb04e3f6f0796e7f2be16dcce38542f8b90708d4
Reviewed-on: https://gerrit.libreoffice.org/8265
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-26 14:41:41 -06:00
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
0ce0c369aa
Remove unneccessary comments
...
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-23 03:38:49 +00:00
076a7eacca
Bug #63962 Dynamically scan the config directory for icon themes
...
The hard-coded icon themes have been replaced by a dynamic list
which is filled by scanning the config directory
Conflicts:
include/vcl/settings.hxx
vcl/source/app/settings.cxx
vcl/source/window/window.cxx
Change-Id: Ie3680ffe27d06e375acf22753e036cb6ddabc4ed
Reviewed-on: https://gerrit.libreoffice.org/7935
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-21 17:23:50 +00:00
24949f84ae
coverity#737202 Uncaught exception
...
Change-Id: I2ac23ed9f308b92ff9457938b265677f008aaca7
2014-02-13 14:56:21 +00:00
924a415e68
cosmetics
...
Change-Id: Ice4f20db3a590568a7ae4ae59fa0c4ff13e59051
2014-02-13 11:26:31 +01:00
25c1e9cca2
cid#705176 missing break in switch
...
Change-Id: Iaa331cc259aed93ffa7c3544586f800a795cc25d
2014-02-12 08:59:05 +02:00
d55495daf9
Do not throw if AcceleratorConfigurations are missing.
...
Which can happen on mobile platforms if we don't want them.
Change-Id: I53639ccc75886708850d2d3a01eec76104b7f2c9
2014-02-10 16:43:54 +01:00
e034b0323c
Simplify the code a bit.
...
Change-Id: I57581fb0f3439ddc4a4848466f6925d962b04aea
2014-02-10 16:43:54 +01:00
5ac9d90f0a
coverity#737167 Uncaught exception
...
Change-Id: Id1d9790b7d3229d11e83ad68a5b9104a3da159f0
2014-02-10 11:21:14 +00:00
99f50cd8e2
coverity#1169846 Uncaught exception
...
Change-Id: Iae590d7b9ca2701a6917823524f819d18cb5676f
2014-02-09 21:07:39 +00:00
53052e5bfa
fwk: Constructor feature for single-instance WindowStateConfiguration.
...
Change-Id: I0537d7a30b6c6807bf746a52dbd2c7fc66607ae2
2014-02-06 12:03:30 +01:00
92c8a8fc82
fwk: Ctor feature for single-instance ModuleUIConfigurationManagerSupplier.
...
Change-Id: I4674ed6852807e08ff8319515b0ab4e9535b668a
2014-01-30 10:48:25 +01:00
2462159d7b
bool improvements
...
Change-Id: I754b47013d8f1aa3ecf6204fbe926a438887639d
2014-01-28 20:26:27 +01:00
ba8413d262
Introduce com.sun.star.frame.theUICommandDescription singleton.
...
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-28 18:52:22 +01:00
b2c89e7236
fwk: Constructor feature for one instance UICategoryDescription.
...
Change-Id: I56c906c9eeafb625dee65eec9fe39ea3aee66251
2014-01-28 18:52:22 +01:00
c2c530da69
Introduce static inline cppu::acquire(), and make use of that.
...
This is much better approach compared to the callback function, as it allows
passing arguments to the c++ constructor directly, while still allowing some
additional initialization after having acquired the instance.
Change-Id: I5a0f981915dd58f1522ee6054e53a3550b29d624
2014-01-22 15:09:28 +01:00
f278397787
Change _get_implementation()'s not to do initialization directly.
...
Many of the initalizations (in eg. framework) have to be done on an
acquire()'d object, so instead of doing the initialization directly, return
the initialization member function back to the createInstance() /
createInstanceWithContext() / ... and perform the initialization there.
As a sideeffect, I belive the calling initialize() from servicemanager is not
that much a hack any more - whoever converts the implementation to be
constructor-base has the choice to provide the callback, or still initialize
through XInitialization, where the callback is preferred by servicemanager
when it exists.
Change-Id: I8a87b75c54c1441ca0f184967d31ff4902fc4081
2014-01-21 21:25:22 +01:00
e1b85e77b1
drop using namespace ::com::sun: ⭐ :ui;
...
Change-Id: Ia10e9ad0c5495b8a4887d84781967ffb58a6a7d6
2014-01-18 18:30:17 +01:00
72b5343bd1
fwk: Use constructor feature for ModuleUIConfigurationManager.
...
And avoid css::uno::XInitialization protocol.
2014-01-18 17:02:36 +01:00
278880fbd1
fwk: Use constructor feature for ImageManager.
...
Change-Id: I3f231980b1908495b1f5ec17f95c39c464d40ff8
2014-01-17 12:25:04 +01:00
b93ea039eb
fwk: Use constructor feature for UIConfigurationManager.
...
Change-Id: Icd42b6b9b62271606659651a2f463e1ee2956fe6
2014-01-17 12:24:54 +01:00
dae9b7060d
Drop duplicate #include
...
Change-Id: Ib8969d5cd4898b81a5dcd90dc313abd28adfe052
2013-12-10 15:52:49 +09:00
610b2b94b3
remove unnecessary use of OUString constructor when assigning
...
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19 10:29:31 +02:00
d4fa4c7b38
fdo#69500: Revert "fix bug #60700 - de-crutify ODF files"
...
This reverts commit da06166015689eca260c702602bef4cea58afbd3.
2013-11-18 13:27:50 +01:00
ab5d1fbfb4
SAL_WARN_UNUSED com::sun: ⭐ :uno::Any
...
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
2013-11-14 21:02:40 +01:00
c4a593b6b1
remove unnecessary use of OUString constructor in FRAMEWORK module
...
Change-Id: Icbed4f318043a166ed78fe0c49a53f87ebf7201d
2013-11-11 08:36:07 +02:00
15b5412fad
fixincludeguards.sh: framework
...
Change-Id: Ia6f3cb21977095df45a176db2bf68f508c70191c
2013-11-05 09:28:53 +01:00
e2451bd729
Convert indexOf->startsWith and lastIndexOf->endsWith
...
This is both an optimisation and a cleanup.
This converts code like
aStr.indexOf("XX") == 0
to
aStr.startsWith("XX")
and converts code like
aStr.lastIndexOf("XXX") == aStr.getLength() - 3
to
aStr.endsWith("XXX")
Note that in general
aStr.lastIndexOf("X") == aStr.getLength() - 1
converts to
aStr.isEmpty() || aStr.endsWith("X")
so I used the surrounding context to determine if aStr could be empty
when modifying the code.
Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-31 08:34:21 +02:00
dd28837249
vcl: mark more Image constructors as "explicit"
...
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-22 14:42:17 +02:00
ed2cd062eb
-Werror,-Wunused-variable
...
Change-Id: I703d08f4c1080e5c5afaab9652ea2c18b4f365f1
2013-10-02 17:48:35 +02:00
eb103fa411
-Werror,-Wunused-const-variable
...
Change-Id: Id416a7bcb3ac3ea5354f6f7b5ec3daa1dc742f8d
2013-10-02 16:49:31 +02:00
6a3cf741d1
Otherwhise -> Otherwise
...
Change-Id: Iaec23e1d240f675a04b52cd251c4cb2a1242bb44
2013-09-26 10:21:12 +02:00
e8ecf30ea6
convert FRAMEWORK module from String to OUString
...
Change-Id: Iafa6b5f213d37093e7e46065c9264c7bb7fae377
2013-09-17 09:05:49 +02:00
3e55e00662
String to OUString
...
This removes nearly all ToLowerAscii() calls.
Conflicts:
linguistic/source/convdic.cxx
linguistic/source/convdiclist.cxx
linguistic/source/dlistimp.cxx
sc/source/filter/html/htmlexp.cxx
Change-Id: Iddcaacfb7383e1df3d2f13751a3c788eba953fdd
Reviewed-on: https://gerrit.libreoffice.org/5895
Tested-by: Caolán McNamara <caolanm@redhat.com >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
2013-09-13 11:30:48 +00:00
2f750d86cf
Try to keep older(?) gcc versions happy
...
Change-Id: Id563e644356a9265ded66cf08a711078c804ac84
2013-09-09 01:42:07 +03:00
2b3e225853
Bin some uses of the stupid DECLARE_ASCII macro
...
Change-Id: I076eef8069e848ec3cf9c69f1b489ad44586324e
2013-09-09 00:58:15 +03:00
b022cfb6ca
Get rid of some pointless SAL_INFO calls
...
Change-Id: I451cacc550972a6a61e3e325936ce950bbf87475
2013-09-08 23:51:41 +03:00
3c48673ff7
Delete wrong comment
...
This indicates that there should follow the private methods in this class.
However, the visibility constraint "private" was never in this code since it
was added in 2009. So I delete it.
See:
$> git log -u -- framework/source/uiconfiguration/imagemanagerimpl.hxx
ca00697e3dae9a03573d11281fc8d9a4ee391d3d (Sep 8th 2009)
Change-Id: Iac82b79d8cf6cc0c796a5ee97be25d2d24f4fa48
2013-09-02 22:09:04 +02:00
bf42b6f9f5
fdo#62475 - remove visual noise
...
This is a follow up commit to
- 22d1beb78a475e4846af945afde1c4d6c263b5d6
- 1c7af455ab9345304a7ac48ce2e0310de2ac8a75
Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-31 22:41:10 +02:00
64b993e046
finish deprecation of O(U)String::valueOf()
...
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
1c7af455ab
Re-work 8bit characters in source code, or remove them.
...
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3
Reviewed-on: https://gerrit.libreoffice.org/5550
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Michael Meeks <michael.meeks@suse.com >
Tested-by: Michael Meeks <michael.meeks@suse.com >
2013-08-20 19:30:59 +00:00
cb590428d8
fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
...
Change-Id: Ib0edc828691c6a8edbd1f45d3c0e2851c32c865f
Reviewed-on: https://gerrit.libreoffice.org/5013
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-07-23 14:05:13 +00:00
5e184fd217
Convert GlobalSettings_Access to WeakImplHelper
...
Change-Id: Iaa1134bee8e3b36e940376622b5c22085892b81b
2013-07-23 10:05:45 +02:00
0abf81ca50
Convert ModuleUIConfigurationManagerSupplier to WeakImplHelper
...
Change-Id: I526eb65bb00808c85caa8fcba3359321e7cec2da
2013-07-23 10:05:44 +02:00
496a281d38
Convert UIConfigurationManager to WeakImplHelper
...
Change-Id: I1e8a498f38e19419d3f8fdc91c0bcaf2cb3f41a5
2013-07-23 10:05:44 +02:00
a19e9a5cd0
Convert ConfigurationAccess_WindowState to WeakImplHelper
...
Change-Id: I962e87e81905bfc61b03e1c1c7ee9f01b030df9d
2013-07-23 10:05:44 +02:00
4d5801a0c6
convert WindowStateConfiguration to WeakImplHelper
...
It was already half way there, just some leftover macro definitions.
Change-Id: I607eb22d08fd0e5d7d0be0b8bb217bcc7740d983
2013-07-23 10:05:43 +02:00
9c41a60c0d
fdo#46808, Convert ui::ModuleUIConfigurationManager service to new style
...
.. and convert it to WeakImplHelper at the same time.
Change-Id: I20549f5cc6efb60c5210d3f9b6ecf3ade7e4a75a
2013-07-23 10:05:42 +02:00