diff options
Diffstat (limited to 'xmloff/source/forms')
-rw-r--r-- | xmloff/source/forms/layerexport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/forms/strings.hxx | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx index 2b065c7d5165..c880662d9d3a 100644 --- a/xmloff/source/forms/layerexport.cxx +++ b/xmloff/source/forms/layerexport.cxx @@ -127,7 +127,7 @@ namespace xmloff if (!xSI.is()) return sal_False; - if (!xSI->supportsService(SERVICE_FORMSCOLLECTION)) + if (!xSI->supportsService("com.sun.star.form.Forms")) { OSL_FAIL("OFormLayerXMLExport_Impl::impl_isFormPageContainingForms: invalid collection (is no com.sun.star.form.Forms)!"); // nothing to do diff --git a/xmloff/source/forms/strings.hxx b/xmloff/source/forms/strings.hxx index 3aa99906c8d5..51c56211fbf1 100644 --- a/xmloff/source/forms/strings.hxx +++ b/xmloff/source/forms/strings.hxx @@ -142,7 +142,6 @@ namespace xmloff #define PROPERTY_RICH_TEXT "RichText" // services - #define SERVICE_FORMSCOLLECTION "com.sun.star.form.Forms" #define SERVICE_SPREADSHEET_DOCUMENT "com.sun.star.sheet.SpreadsheetDocument" #define SERVICE_CELLVALUEBINDING "com.sun.star.table.CellValueBinding" #define SERVICE_LISTINDEXCELLBINDING "com.sun.star.table.ListPositionCellBinding" |