diff options
author | David Ostrovsky <david@ostrovsky.org> | 2013-10-05 23:07:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-14 12:21:39 +0200 |
commit | 2aa5d13ed09c1cbad9f1da315442edfa6f9f3b60 (patch) | |
tree | 58a3d348f244247434c21eb9606b8a38726dad2c /sdext/source/minimizer/pppoptimizerdialog.cxx | |
parent | a979956012a277c9cb85147605b9671ace12aa0a (diff) |
fdo#61950 De-extensionize presentation minimizer
Change-Id: I87805ceacf184d5aa5faae68e8bb932391ace7fb
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sdext/source/minimizer/pppoptimizerdialog.cxx')
-rw-r--r-- | sdext/source/minimizer/pppoptimizerdialog.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/minimizer/pppoptimizerdialog.cxx b/sdext/source/minimizer/pppoptimizerdialog.cxx index 516c69a293af..0ff0ed30aaa5 100644 --- a/sdext/source/minimizer/pppoptimizerdialog.cxx +++ b/sdext/source/minimizer/pppoptimizerdialog.cxx @@ -28,7 +28,7 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::frame; using namespace ::com::sun::star::beans; -#define SERVICE_NAME "com.sun.star.comp.SunPresentationMinimizer" +#define SERVICE_NAME "com.sun.star.comp.PresentationMinimizer" #include <rtl/ustrbuf.hxx> // ---------------------- @@ -92,7 +92,7 @@ Reference< com::sun::star::frame::XDispatch > SAL_CALL PPPOptimizerDialog::query const URL& aURL, const OUString& /* aTargetFrameName */, sal_Int32 /* nSearchFlags */ ) throw( RuntimeException ) { Reference < XDispatch > xRet; - if ( aURL.Protocol.compareToAscii( "vnd.com.sun.star.comp.SunPresentationMinimizer:" ) == 0 ) + if ( aURL.Protocol.compareToAscii( "vnd.com.sun.star.comp.PresentationMinimizer:" ) == 0 ) xRet = this; return xRet; @@ -122,7 +122,7 @@ void SAL_CALL PPPOptimizerDialog::dispatch( const URL& rURL, throw( RuntimeException ) { - if ( mxController.is() && ( rURL.Protocol.compareToAscii( "vnd.com.sun.star.comp.SunPresentationMinimizer:" ) == 0 ) ) + if ( mxController.is() && ( rURL.Protocol.compareToAscii( "vnd.com.sun.star.comp.PresentationMinimizer:" ) == 0 ) ) { if ( rURL.Path.compareToAscii( "execute" ) == 0 ) { @@ -185,7 +185,7 @@ void SAL_CALL PPPOptimizerDialog::removeStatusListener( const Reference< XStatus OUString PPPOptimizerDialog_getImplementationName() { - return OUString( "com.sun.star.comp.SunPresentationMinimizerImp" ); + return OUString( "com.sun.star.comp.PresentationMinimizerImp" ); } Sequence< OUString > PPPOptimizerDialog_getSupportedServiceNames() |