5719 Commits

Author SHA1 Message Date
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
Stephan Bergmann
a487d5e37e Unused FWI_DLLPRIVATE
Change-Id: I68e1d463485354dda9d743d3b72907ee8a73d414
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
Matúš Kukan
19e16083c6 Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.
Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790
2014-01-30 10:48:25 +01:00
Matúš Kukan
a8f9feb9c1 fwk: Constructor feature for single-instance TaskCreatorService.
Change-Id: I9e994ebb4822458039709690aa5dd0a7f75735ac
2014-01-30 10:48:25 +01:00
Matúš Kukan
6c15ca4d9d fwk: Constructor feature for single-instance SubstitutePathVariables.
Change-Id: Ibd626f00bb844ae8ec1cab773093b8c94bf8d936
2014-01-30 10:48:25 +01:00
Matúš Kukan
2257efcdde unused headers
Change-Id: I908259219c94d88dfe2dafee84bbf93cc49d63dc
2014-01-30 10:48:24 +01:00
Matúš Kukan
eb4a4ebc9d fwk: Constructor feature for single-instance WindowContentFactoryManager.
Change-Id: I6786bc1d76fd57edc8dfacb667b53deab792bd20
2014-01-30 10:48:24 +01:00
Matúš Kukan
b3856b0e09 Introduce com.sun.star.ui.theWindowContentFactoryManager singleton.
Change-Id: If979db945b2f5e50e146fdadafd1559530c50122
2014-01-30 10:48:24 +01:00
Matúš Kukan
a64c6c448d fwk: Constructor feature for single-instance UIElementFactoryManager.
Change-Id: Iaa6b6bf8f132e2f8efb9ae71e9302e6be19347c9
2014-01-29 11:46:11 +01:00
Matúš Kukan
e9a23fd78c Introduce com.sun.star.ui.theUIElementFactoryManager singleton.
To replace single-instance com.sun.star.ui.UIElementFactoryManager
service.

Change-Id: I4262909c4396e3907d271a56696a06903168a58d
2014-01-29 11:46:10 +01:00
Matúš Kukan
43b84c9662 fwk: Constructor feature for single-instance UIControllerFactories.
Change-Id: I0867404f7e4aa7b9caafe4f0568bd2c20190867f
2014-01-29 11:46:10 +01:00
Matúš Kukan
af1c0ef8d3 Introduce com.sun.star.frame.ControllerFactory singletons:
com.sun.star.frame.thePopupMenuControllerFactory
com.sun.star.frame.theStatusbarControllerFactory
com.sun.star.frame.theToolbarControllerFactory

To replace their single-instance service variants.

Change-Id: I00586d0d61e63f9482cb659071e88aa9cf02d5b5
2014-01-29 11:46:10 +01:00
Stephan Bergmann
612dac063a bool improvements
Change-Id: I0dc09b7a6ee2849bd0c2ffc31be45f81cd2c15ee
2014-01-29 11:08:32 +01:00
Stephan Bergmann
2462159d7b bool improvements
Change-Id: I754b47013d8f1aa3ecf6204fbe926a438887639d
2014-01-28 20:26:27 +01:00
Matúš Kukan
945c08e35e using cppu::WeakComponentImplHelperBase::rBHelper; does not work here
Change-Id: I07422d10f7a3e84fdbe62e93b6c5a59323d8a7a8
2014-01-28 20:10:39 +01:00
Matúš Kukan
d3dce837fa fwk: Constructor feature for one instance UICommandDescription.
Change-Id: I3b772ce36492e89451597b3c7dadc5e5b5b22de7
2014-01-28 18:52:23 +01:00
Matúš Kukan
ba8413d262 Introduce com.sun.star.frame.theUICommandDescription singleton.
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-28 18:52:22 +01:00
Matúš Kukan
b2c89e7236 fwk: Constructor feature for one instance UICategoryDescription.
Change-Id: I56c906c9eeafb625dee65eec9fe39ea3aee66251
2014-01-28 18:52:22 +01:00
Matúš Kukan
54f606c666 Introduce com.sun.star.ui.theUICategoryDescription singleton.
Change-Id: I79a78f208b2aa5eaacbd2e349b2b5066afa1ad23
2014-01-28 18:52:22 +01:00
Matúš Kukan
dd1c991bd9 Introduce com.sun.star.frame.theAutoRecovery singleton.
To replace com.sun.star.frame.AutoRecovery single-instance service,
incorrectly converted in 279859fdbc40f68d8f1649fa5b928d9de49e8d9e

Unfortunately needs a lot of changes in autorecovery.cxx.

Change-Id: Iba5188dffea3e03803236f23e0b3f343746ace90
2014-01-28 18:52:21 +01:00
Stephan Bergmann
65191cda81 bool improvements
Change-Id: I757e19313576d2c3d13af1cb720f182f0de91613
2014-01-27 10:47:32 +01:00
Matúš Kukan
ef597d80dc Introduce com.sun.star.task.theJobExecutor singleton.
To replace com.sun.star.task.JobExecutor single-instance service,
incorrectly converted in 748aa84e9808ad31c6ff6b71459525c82de10e58

[including changes by Stephan Bergmann <sbergman@redhat.com>]

Change-Id: I4cea2c63a20b5b22f6e1f822fb35fcc4d0397687
Reviewed-on: https://gerrit.libreoffice.org/7609
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-01-24 14:24:34 +00:00
Matúš Kukan
89b0017b22 fwk: Use constructor feature for one instance PathSettings.
Change-Id: Iaa01abc9f604d8f9e6f762e3340f9468e19f4848
2014-01-23 11:41:29 +01:00
Matúš Kukan
747ef9b682 framework: Bin unused source files.
Change-Id: Ifd9d9b7237d148c4bc0d3abd787983f27e2104f8
2014-01-23 11:41:28 +01:00
Stephan Bergmann
22bb2660eb -Werror,-Wreorder
Change-Id: Iff7837eb1390ddcf9e281912d7d91f76e8daf221
2014-01-22 16:17:18 +01:00
Jan Holesovsky
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