From 1165aac95b8e44f41fc16a44bfec4c1c05801ac8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 27 Mar 2013 14:20:45 +0200 Subject: fdo#46808, convert form::Forms to new style Change-Id: I966ed18d45dc8a04c97a703d3c83382714025f2c --- xmloff/source/forms/layerexport.cxx | 2 +- xmloff/source/forms/strings.hxx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'xmloff') 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" -- cgit