diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-13 13:44:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-13 13:47:50 +0200 |
commit | 61a3be76c221c822b189d20e9269ec5caf1aadcc (patch) | |
tree | 245115b5a6e278e6f637fc457f0b346e5248c810 /postprocess | |
parent | 7de992bcc66c973bb6b247184cac38f01cd1104a (diff) |
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
Diffstat (limited to 'postprocess')
-rw-r--r-- | postprocess/qa/services.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/postprocess/qa/services.cxx b/postprocess/qa/services.cxx index ec264744efa2..35e5b106d15c 100644 --- a/postprocess/qa/services.cxx +++ b/postprocess/qa/services.cxx @@ -365,6 +365,17 @@ void Test::createInstance( expImpl = "com.sun.star.svtools.OfficeFolderPicker"; expServs = {"com.sun.star.ui.dialogs.OfficeFolderPicker"}; #endif + } else if (expImpl == "com.sun.star.comp.Calc.SpreadsheetDocument") { + expImpl = "ScModelObj"; + } else if (expImpl == "com.sun.star.comp.Draw.DrawingDocument" + || expImpl == "com.sun.star.comp.Draw.PresentationDocument") + { + expImpl = "SdXImpressDocument"; + } else if (expImpl == "com.sun.star.comp.Writer.GlobalDocument" + || expImpl == "com.sun.star.comp.Writer.TextDocument" + || expImpl == "com.sun.star.comp.Writer.WebDocument") + { + expImpl = "SwXTextDocument"; } CPPUNIT_ASSERT_EQUAL_MESSAGE( (OString( |