3705 Commits

Author SHA1 Message Date
Oliver-Rainer Wittmann
6ba4d125f6 Related: #i124096# correct LayoutManager::m_xDockingAreaAcceptor clear...
on disposing

(cherry picked from commit 50b10da7434d774ac463c148bbaeb051d2b3a22d)

Conflicts:
	framework/source/layoutmanager/layoutmanager.cxx

Change-Id: I51fe74698f00fadba9afaeb0f8e9f66b85f208cb
2014-02-18 16:11:05 +00:00
Noel Grandin
2b3b3373eb cid#736778 dereference before null check
Change-Id: I2d26b5447e06e0b0d08e45452ef5507b75a4d3ff
2014-02-17 14:04:34 +02:00
Caolán McNamara
31ed7bc8c2 coverity#737240 Uncaught exception
Change-Id: I9cff764c2ca451752f2343cedd26530bd9a0e9a7
2014-02-13 14:56:22 +00:00
Caolán McNamara
9a34c55529 coverity#737239 Uncaught exception
Change-Id: Ic9635e77e5fd4e356b30aac314c7438060b82a58
2014-02-13 14:56:21 +00:00
Caolán McNamara
24949f84ae coverity#737202 Uncaught exception
Change-Id: I2ac23ed9f308b92ff9457938b265677f008aaca7
2014-02-13 14:56:21 +00:00
Matúš Kukan
c388071c4d remove now empty fwk_component_getFactory
Change-Id: I5f2f5fc9ccc75b145572aa0bb88b00b0d7a5872d
2014-02-13 11:27:21 +01:00
Matúš Kukan
2d46ef6da5 fwk: Constructor feature for single-instance framework::Desktop.
Change-Id: Id582e672c0b41a35d25361f7dfe970a767880b2a
2014-02-13 11:27:15 +01:00
Matúš Kukan
924a415e68 cosmetics
Change-Id: Ice4f20db3a590568a7ae4ae59fa0c4ff13e59051
2014-02-13 11:26:31 +01:00
Matúš Kukan
eb1799714c cleaning the code a bit
Change-Id: I4cc9c16fb79f669ae70d10a50ace3943075edd46
2014-02-13 11:26:29 +01:00
Matúš Kukan
5691ef0b4f Move this Singleton class to anonymous namespace.
If you add more Singleton classes into framework namespace,
it builds without any warning but I was not able to see menu text
labels.
Luckily UICommandDescription is involved in this and the problem was not
hidden somewhere else.

Change-Id: Iba0c06c2e31ae509579f31308d9f45f0cb9f654f
2014-02-13 11:26:27 +01:00
Matúš Kukan
9a4056c18f Do not use pattern::configuration::ConfigurationHelper.
Change-Id: I9cf913f085a2c6862e44803485ab63e2b4572eab
2014-02-13 11:26:26 +01:00
Matúš Kukan
dae2b047f9 Remove unused ContainerQuery constants.
Change-Id: Ib9f96f79d805c91e80fa5366c71e3e975ebabe90
2014-02-13 11:26:24 +01:00
Matúš Kukan
d8db7f0f44 ModuleManager should be static; and simplify.
This saves some cycles used to open configuration many times.

Change-Id: I12cc7ac87df897a518368094b12d8dcb5be4e3b5
2014-02-13 11:26:22 +01:00
Noel Grandin
25c1e9cca2 cid#705176 missing break in switch
Change-Id: Iaa331cc259aed93ffa7c3544586f800a795cc25d
2014-02-12 08:59:05 +02:00
Caolán McNamara
3c1cc16bb7 coverity#704234 Logically dead code
Change-Id: I9a1010e6a7d830853a79cafa71a867f16fcceabc
2014-02-11 20:21:49 +00:00
Matúš Kukan
c864bd3105 fwk: Constructor feature for one instance ContextChangeEventMultiplexer.
Change-Id: Ibb89e4dd46fc5d1f8a85f96b7e4677fa764bb112
2014-02-11 11:28:55 +01:00
Matúš Kukan
72139db6b4 fwk: Constructor feature for one instance SessionListener.
Converted as usual service implementation.

Change-Id: I37c2f25e8a463abb236753c1299cc0aeb3007cd9
2014-02-11 11:28:55 +01:00
Julien Nabet
70d8b26810 Typo: acess -> access
Change-Id: I8fb5efa49ccd886fa0172fdc59ede0821ecce486
2014-02-10 16:48:31 +01:00
Matúš Kukan
4c726e9607 Survive missing UIElementFactories.
And try to not use AddonsToolBarFactory in native code generator.

Change-Id: I4782e6c719bdc7e01da14d2ea026e119da542517
2014-02-10 16:46:02 +01:00
Matúš Kukan
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
Matúš Kukan
e034b0323c Simplify the code a bit.
Change-Id: I57581fb0f3439ddc4a4848466f6925d962b04aea
2014-02-10 16:43:54 +01:00
Matúš Kukan
cc5ec80521 misc cleanup and unnecessary OUStrings
Change-Id: Idef960995d7b13af049de5a5045b99df642dc3df
2014-02-10 16:43:54 +01:00
Matúš Kukan
e3e1bddb85 Rename ToolBoxFactory -> ToolBarFactory, as the service is named.
Change-Id: Iec6cbefcb6863f14d6c21b2f7fd8e3418cb5d2d5
2014-02-10 16:43:53 +01:00
Stephan Bergmann
463e1cd292 Simplify string literal usage
Change-Id: I216d0af8fd78bec8668ea2a5be7d75f7c1df0c31
2014-02-10 15:58:39 +01:00
Caolán McNamara
6e73260a30 coverity#1169845 Uncaught exception
Change-Id: Ifec059d66b92233fbff967a5da6fdc88915eefb1
2014-02-10 14:48:44 +00:00
Caolán McNamara
b78efa182a add modelines
Change-Id: I5d96a2d1e4c1ffcc736af0666d33a1a62ba628c5
2014-02-10 14:48:43 +00:00
Caolán McNamara
5bf2b49ef7 coverity#1169812 condition appears the wrong way around
Change-Id: I97960a1491a247ef9db9536f904e4203e0903abd
2014-02-10 12:31:22 +00:00
Caolán McNamara
5e40fcc0cf coverity#1169847 Uncaught exception
Change-Id: I8adf5d175798c4b820cd7cac2a927aa0f7de718d
2014-02-10 12:00:17 +00:00
Caolán McNamara
5ac9d90f0a coverity#737167 Uncaught exception
Change-Id: Id1d9790b7d3229d11e83ad68a5b9104a3da159f0
2014-02-10 11:21:14 +00:00
Caolán McNamara
99f50cd8e2 coverity#1169846 Uncaught exception
Change-Id: Iae590d7b9ca2701a6917823524f819d18cb5676f
2014-02-09 21:07:39 +00:00
Caolán McNamara
b0a7722ebf coverity#1169848 Uncaught exception
Change-Id: I27903e8b6bbf28a33601d793719ac5bcd3309db0
2014-02-09 21:07:39 +00:00
Caolán McNamara
53c84ea21e coverity#1169804 Unchecked return value
Change-Id: I32fb858ab78a741a194ae11a3147645d786c9afe
2014-02-09 17:13:43 +00:00
Caolán McNamara
57e0062f20 coverity#1169826 Dereference after null check
Change-Id: Ie431672b5a6ba1d613ae1cb9e48fa6d1db6a6b4a
2014-02-09 15:50:10 +00:00
Caolán McNamara
22e59ea977 coverity#1169839 Unintentional integer overflow
Change-Id: I21d7962043e26e8a7973dd2f9305dd6a48f3db4a
2014-02-09 15:17:17 +00:00
Julien Nabet
5b066bc3ef Typo: (a)synchronoues -> a(synchronous)
Change-Id: Ia3871d711308eb38ed6e0df81615966cc142030d
2014-02-09 10:14:25 +01:00
Julien Nabet
94bc29cb71 Typo: I/internaly -> I/internally
Change-Id: Ic9056baf58698743492ab57a882341c730ef2f7a
2014-02-09 10:12:07 +01:00
Caolán McNamara
06410bdf1f coverity#1169879 Uninitialized scalar field
Change-Id: I9638bbda4d87e6d86ed1baa2f29331321f11d862
2014-02-08 14:15:55 +00:00
Stephan Bergmann
85cdb06fd5 sal_Bool -> bool
Change-Id: Ifc80202e0865b59931af6e50d3d60f5021f8b52e
2014-02-07 18:43:32 +01:00
Julien Nabet
6f0e7c36e4 Typo: seam(s) -> seem(s)
Change-Id: I840d120644760b61a39ad88b4095056f0f753bb7
2014-02-06 21:22:42 +01:00
Matúš Kukan
53052e5bfa fwk: Constructor feature for single-instance WindowStateConfiguration.
Change-Id: I0537d7a30b6c6807bf746a52dbd2c7fc66607ae2
2014-02-06 12:03:30 +01:00
Matúš Kukan
4ff873bda2 Introduce com.sun.star.ui.theWindowStateConfiguration singleton.
Change-Id: I50861ac8952d54cb1a45846ea72a2ecac4f83409
2014-02-06 12:03:28 +01:00
Matúš Kukan
813b0f60e8 fwk: Constructor feature for single-instance FooBarFactories.
Converted them as usual service implementations.
Otherwise - if static singletons are used -
it does not show menu for some reason.

Change-Id: I0673d0bfbba268728a3fa676f2af95aa6c74bbb2
2014-02-06 12:03:27 +01:00
Matúš Kukan
094f92bb78 Introduce com.sun.star.util.thePathSettings singleton.
To replace single-instance com.sun.star.util.PathSettings service,
incorrectly converted in 89b0017b22889af6a8afe28b94c06e7095dc8c6f

Keeping util::PathSettings::create in
sc/source/ui/vba/vbaapplication.cxx because for some reason
util::thePathSettings::get does not work in sc_macros_test
while testing sc/qa/extras/testdocuments/Ranges.xls.

Change-Id: I75b68ae56ac5b58f72416070dba100ab3ab70fe8
2014-02-06 12:03:25 +01:00
Caolán McNamara
d3a19d8eb7 remove lang path substitution
it's unused internally as far as I can see and has very incomplete (and surely
some wrong values) from some sort of mid 90s Euro-centric worldview

Change-Id: Ibce9e8b76545791ab59b9e11c6ff6e1f33afcb3c
2014-02-04 19:54:31 +00:00
Caolán McNamara
e1b606e071 nPrio is always 0
Change-Id: Idc5bd213562de95c83752dc089ff6a928e9085d3
2014-02-04 14:57:37 +00:00
Chris Sherlock
570e5d70f3 fdo#74425 Remove deprecated static function ResMgr::GetLang()
ResMgr::GetLang() has been deprecated for a long time now. It is used
by only one function,
SubstitutePathVariables::SetPredefinedPathVariables() in the framework
module. I have therefore removed it from ResMgr and placed it as a
function in framework/source/services/substitutepathvars.cxx where it
is actually used.

Change-Id: I5f0d8f701aa45f8653020affeff6339f8fc9bc0e
Reviewed-on: https://gerrit.libreoffice.org/7791
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-04 14:43:57 +00:00
Tor Lillqvist
eeb840d6ba fdo#70376: Put only document (file) name in window title on OS X
Change-Id: I0b975a1a0e73c546beec96599fd4e5f87caa51db
2014-02-03 17:48:25 +01:00
Stephan Bergmann
ea8aec196b Remove unnecessary #include
Change-Id: I34e6c5514aa40fe7c5e0215e4d5885bb345242d8
2014-02-03 16:05:10 +01:00
Alexandre Vicenzi
a91de8efc9 fdo#54938 Convert framework to cppu::supportsService
Change-Id: Id0c7c845d128920ba278de4208f5c32dcf83ecb1
Reviewed-on: https://gerrit.libreoffice.org/7754
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-02 14:59:51 +00:00
Matúš Kukan
92c8a8fc82 fwk: Ctor feature for single-instance ModuleUIConfigurationManagerSupplier.
Change-Id: I4674ed6852807e08ff8319515b0ab4e9535b668a
2014-01-30 10:48:25 +01:00