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
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
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
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
Tor Lillqvist
17cfcceb4e
WaE: -Wreorder
...
Change-Id: I8b6e3aafa6208223a65b777c232de88cfb2e5a8c
2014-01-22 11:55:35 +02:00
Jan Holesovsky
0ff31c26f3
Make the casting work on Windows too.
...
Fixes CppunitTest_starmath_qa_cppunit on Windows.
Change-Id: I3fd73db1ebb70ac19f99bc3e337b1a8107486ae7
2014-01-22 09:48:37 +01:00
Jan Holesovsky
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
Stephan Bergmann
1115adbb5d
bool improvements
...
Change-Id: I1588e6dcbc095d8c5fcde3601eea9111fbae15fb
2014-01-21 18:24:07 +01:00
Stephan Bergmann
4abe5e61dd
bool improvements
...
Change-Id: Id91399027008ffbda26f3212bd3ddbba22044f2b
2014-01-21 18:24:03 +01:00
Stephan Bergmann
a3f32769fc
Fix bogus mass-conversion equalsAsciiL -> startsWith
...
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to
startsWith calls" should rather have converted to oprator ==.
Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-21 15:54:52 +01:00
Jan Holesovsky
111fe03e36
Rest of the incomplete conversion.
...
What I am doing today?! - sorry for the incomplete push.
Change-Id: Idca25b390820527481b1c672a0ad62f2d83a0e13
2014-01-20 19:58:06 +01:00
Jan Holesovsky
f979a12741
Forgotten git add, doh!
...
Change-Id: I6dccc887b400352cc47678d912b5e4d391c96a3b
2014-01-20 19:53:34 +01:00
Matúš Kukan
279859fdbc
fwk: Use constructor feature for AutoRecovery.
...
Change-Id: I87a6c1c1c6dc92670dccee3f56302e7f234b281d
2014-01-20 19:48:46 +01:00
Matúš Kukan
748aa84e98
fwk: Use constructor feature for JobExecutor.
...
Change-Id: I5087320137dc17f27a382d564a59cec68f1a4f95
2014-01-20 19:43:59 +01:00
Matúš Kukan
e1b85e77b1
drop using namespace ::com::sun: ⭐ :ui;
...
Change-Id: Ia10e9ad0c5495b8a4887d84781967ffb58a6a7d6
2014-01-18 18:30:17 +01:00
Matúš Kukan
42fc427d04
fwk: Use constructor feature for ModuleAcceleratorConfiguration.
...
And avoid css::uno::XInitialization protocol.
Change-Id: If4a7987778e2880502bdc7ef2c30792de9377364
2014-01-18 17:02:39 +01:00
Matúš Kukan
7dca32d575
fwk: Use constructor feature for DocumentAcceleratorConfiguration.
...
And avoid css::uno::XInitialization protocol.
Change-Id: I14daf6409bf0d651d7b23246ba3855f647b3d1ef
2014-01-18 17:02:37 +01:00
Matúš Kukan
72b5343bd1
fwk: Use constructor feature for ModuleUIConfigurationManager.
...
And avoid css::uno::XInitialization protocol.
2014-01-18 17:02:36 +01:00
Stephan Bergmann
602c87b425
Window::PreNotify should return bool
...
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-18 00:37:49 +01:00
Matúš Kukan
9e18f7e3cf
disambiguate URLTransformer
...
Change-Id: I27a80a7593889105c7a75c04de08eebe28e5c541
2014-01-17 12:59:01 +01:00
Matúš Kukan
307878b6e2
fwk: Constructor feature for ControlMenuController.
...
Change-Id: I789205c1bc9ceefda003d9887ac4409625539537
2014-01-17 12:25:11 +01:00
Matúš Kukan
9622a8072c
fwk: Constructor feature for RecentFilesMenuController.
...
Change-Id: I7bb943a6fe7526264e8465faeb7e86adbf3cb737
2014-01-17 12:25:10 +01:00
Matúš Kukan
f36fba3b85
fwk: Use constructor feature for Frame.
...
Change-Id: I5f7ee46671b22d17c5cb060f96342727d566fa21
2014-01-17 12:25:07 +01:00
Matúš Kukan
4c016d7004
fwk: Use constructor feature for GlobalAcceleratorConfiguration.
...
Change-Id: Ic0268e9841c78e5de646074755e99706adac8d7d
2014-01-17 12:25:05 +01:00
Matúš Kukan
278880fbd1
fwk: Use constructor feature for ImageManager.
...
Change-Id: I3f231980b1908495b1f5ec17f95c39c464d40ff8
2014-01-17 12:25:04 +01:00
Matúš Kukan
5b034290cf
fwk: Use constructor feature for LayoutManager.
...
Change-Id: I8f5167f7e522585ce8b80ebd8a9a0031aea50d74
2014-01-17 12:25:03 +01:00
Matúš Kukan
db69bd9187
fwk: Use constructor feature for ModuleManager.
...
Change-Id: Ic0bcec6fffc52ed1ce535f87da933bdf01c6db01
2014-01-17 12:25:01 +01:00
Matúš Kukan
af96a6635e
fwk: Use constructor feature for ObjectMenuController.
...
Change-Id: I93bec5fcb51987b7db433250f990685f15f0aa29
2014-01-17 12:25:00 +01:00
Matúš Kukan
b93ea039eb
fwk: Use constructor feature for UIConfigurationManager.
...
Change-Id: Icd42b6b9b62271606659651a2f463e1ee2956fe6
2014-01-17 12:24:54 +01:00
Matúš Kukan
86b12c3448
fwk: Use constructor feature for URLTransformer.
...
Change-Id: I6559cb4c97e7c20930fffba3ce3d565840c89033
2014-01-17 12:24:53 +01:00
Matúš Kukan
d51b105904
fwk: Use constructor feature for JobDispatch.
...
Change-Id: I49a09c4dd0550c318e9f263e9d1a8d0a5e0e15b5
2014-01-17 12:24:52 +01:00
Matúš Kukan
10074976b7
fwk: Use constructor feature for StatusIndicatorFactory.
...
Change-Id: I0595ec98df7bf4114dfb4c21aedd2d2744fda11e
2014-01-17 12:24:51 +01:00
Matúš Kukan
fb20f52279
fwk: Use constructor feature for LangSelectionStatusbarController.
...
Change-Id: If7ce3d27f1cec8e55b65fc2d8c749f2e8bb33768
2014-01-17 12:24:49 +01:00