diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-19 17:22:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-19 18:00:35 +0100 |
commit | f8db395a8a2ad89802a52c68c428a6d0d6bd5476 (patch) | |
tree | c0da19049a5841815407440155c94899e3fac3cf /UnoControls/source/controls/progressbar.cxx | |
parent | 255bd89286a09f715d08ea63681ea35f8bc8dacb (diff) |
Clean up UnoControls/source/controls/ further
...and create ProgressBar directly in ProgressMonitor/StatusIndicator, instead
of going via service manager.
Change-Id: I798e0c415c113cfc65d70ed17cb16aafded41a6d
Diffstat (limited to 'UnoControls/source/controls/progressbar.cxx')
-rw-r--r-- | UnoControls/source/controls/progressbar.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx index ce7c5eb2c1e8..5b3695686b8a 100644 --- a/UnoControls/source/controls/progressbar.cxx +++ b/UnoControls/source/controls/progressbar.cxx @@ -339,9 +339,8 @@ Reference< XControlModel > SAL_CALL ProgressBar::getModel() throw( RuntimeExcept const Sequence< OUString > ProgressBar::impl_getStaticSupportedServiceNames() { - MutexGuard aGuard( Mutex::getGlobalMutex() ); Sequence< OUString > seqServiceNames( 1 ); - seqServiceNames.getArray() [0] = SERVICENAME_PROGRESSBAR; + seqServiceNames[0] = "com.sun.star.awt.XProgressBar"; return seqServiceNames ; } @@ -351,7 +350,7 @@ const Sequence< OUString > ProgressBar::impl_getStaticSupportedServiceNames() const OUString ProgressBar::impl_getStaticImplementationName() { - return OUString(IMPLEMENTATIONNAME_PROGRESSBAR ); + return OUString("stardiv.UnoControls.ProgressBar"); } //____________________________________________________________________________________________________________ |