diff options
author | Noel Grandin <noel@peralex.com> | 2013-03-27 14:20:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-04-23 16:05:56 +0200 |
commit | 1165aac95b8e44f41fc16a44bfec4c1c05801ac8 (patch) | |
tree | 7887802f0d1ba62ab95bad1c6fe8ebf323c87a91 /xmloff/source/forms | |
parent | 9ffb86c7e93c1633866ed89f0749831fd7f31a35 (diff) |
fdo#46808, convert form::Forms to new style
Change-Id: I966ed18d45dc8a04c97a703d3c83382714025f2c
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" |