diff options
author | Noel Grandin <noel@peralex.com> | 2013-03-07 15:41:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-03-20 07:32:48 +0200 |
commit | 8d83827d94266a08e999047151d6cd691acc6e46 (patch) | |
tree | ca1ce320bb8fcb21cd8c095f7ea8b68ae5a50b9b /filter | |
parent | fdo#46808, Convert linguistic2::ProofreadingIterator to new style (diff) | |
download | core-8d83827d94266a08e999047151d6cd691acc6e46.tar.gz core-8d83827d94266a08e999047151d6cd691acc6e46.zip |
fdo#46808, Convert XSLTFilterDialog to new-style
Also fixup servicename.
Change-Id: I1ee6d4849a83fdd4f43bf266ef4d282b22b65f6e
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/xsltdialog/xmlfilterdialogcomponent.cxx | 6 | ||||
-rw-r--r-- | filter/source/xsltdialog/xsltdlg.component | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx index 79f6a6a0442f..ee3c9c0ca69d 100644 --- a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx +++ b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx @@ -190,15 +190,15 @@ void SAL_CALL XMLFilterDialogComponent::release() throw () OUString XMLFilterDialogComponent_getImplementationName() throw ( RuntimeException ) { - return OUString( "XMLFilterDialogComponent" ); + return OUString( "com.sun.star.comp.ui.XSLTFilterDialog" ); } //------------------------------------------------------------------------- Sequence< OUString > SAL_CALL XMLFilterDialogComponent_getSupportedServiceNames() throw ( RuntimeException ) { - OUString aServiceName( "com.sun.star.comp.ui.XSLTFilterDialog" ); - Sequence< ::rtl::OUString > aSupported( &aServiceName, 1 ); + Sequence< OUString > aSupported(1); + aSupported[0] = OUString( "com.sun.star.ui.dialogs.XSLTFilterDialog" ); return aSupported; } diff --git a/filter/source/xsltdialog/xsltdlg.component b/filter/source/xsltdialog/xsltdlg.component index 5f90ceb23218..93144a99552c 100644 --- a/filter/source/xsltdialog/xsltdlg.component +++ b/filter/source/xsltdialog/xsltdlg.component @@ -19,7 +19,7 @@ <component loader="com.sun.star.loader.SharedLibrary" prefix="xsltdlg" xmlns="http://openoffice.org/2010/uno-components"> - <implementation name="XMLFilterDialogComponent"> - <service name="com.sun.star.comp.ui.XSLTFilterDialog"/> + <implementation name="com.sun.star.comp.ui.XSLTFilterDialog"> + <service name="com.sun.star.ui.dialogs.XSLTFilterDialog"/> </implementation> </component> |