From 61a3be76c221c822b189d20e9269ec5caf1aadcc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 13 Jul 2015 13:44:06 +0200 Subject: tdf#92668: Revert some implementation names, for backwards compatibility These implementation names of Calc, Draw, Impress, and Writer documents are the most likely to be checked by existing third-party code, so revert the corresponding parts of 3099c70b11c7e5b80fe4dbe3dc99171fb38c6fc2 "Fix various XServiceInfo implementations" (and instead add fixups in CppunitTest_serives). Change-Id: I1a760adbf4c89a1b4477d6e628abba8d2028ccfe --- sc/source/ui/unoobj/docuno.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 27b72ee8a18d..a1bf52764c29 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -2435,7 +2435,10 @@ uno::Sequence SAL_CALL ScModelObj::getAvailableServiceNames() // XServiceInfo OUString SAL_CALL ScModelObj::getImplementationName() throw(uno::RuntimeException, std::exception) { - return OUString( "com.sun.star.comp.Calc.SpreadsheetDocument" ); + return OUString( "ScModelObj" ); + /* // Matching the .component information: + return OUString( "com.sun.star.comp.Calc.SpreadsheetDocument" ); + */ } sal_Bool SAL_CALL ScModelObj::supportsService( const OUString& rServiceName ) -- cgit v1.2.3