summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/xmloff/styleexp.hxx6
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx4
-rw-r--r--xmloff/source/style/styleexp.cxx11
3 files changed, 2 insertions, 19 deletions
diff --git a/include/xmloff/styleexp.hxx b/include/xmloff/styleexp.hxx
index 4cd11971ccee..66bfc42dc4d0 100644
--- a/include/xmloff/styleexp.hxx
+++ b/include/xmloff/styleexp.hxx
@@ -99,12 +99,6 @@ public:
const rtl::Reference < SvXMLExportPropertyMapper >& rPropMapper,
bool bUsed, XmlStyleFamily nFamily,
const OUString* pPrefix = nullptr);
-
- void exportStyleFamily(
- const char *pFamily, const OUString& rXMLFamily,
- const rtl::Reference < SvXMLExportPropertyMapper >& rPropMapper,
- bool bUsed, XmlStyleFamily nFamily,
- const OUString* pPrefix = nullptr);
};
#endif
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index a42bf11fdce9..fd6693819f6b 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -1988,8 +1988,8 @@ void ScXMLExport::ExportStyles_( bool bUsed )
}
exportDataStyles();
- aStylesExp->exportStyleFamily(OUString("CellStyles"),
- OUString(XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME), xCellStylesExportPropertySetMapper, false, XmlStyleFamily::TABLE_CELL);
+ aStylesExp->exportStyleFamily("CellStyles",
+ XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME, xCellStylesExportPropertySetMapper, false, XmlStyleFamily::TABLE_CELL);
SvXMLExport::ExportStyles_(bUsed);
}
diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx
index b311dbdf6c34..190ac47be5bc 100644
--- a/xmloff/source/style/styleexp.cxx
+++ b/xmloff/source/style/styleexp.cxx
@@ -454,17 +454,6 @@ void XMLStyleExport::exportDefaultStyle(
}
void XMLStyleExport::exportStyleFamily(
- const char *pFamily,
- const OUString& rXMLFamily,
- const rtl::Reference < SvXMLExportPropertyMapper >& rPropMapper,
- bool bUsed, XmlStyleFamily nFamily, const OUString* pPrefix)
-{
- const OUString sFamily(OUString::createFromAscii(pFamily ));
- exportStyleFamily( sFamily, rXMLFamily, rPropMapper, bUsed, nFamily,
- pPrefix);
-}
-
-void XMLStyleExport::exportStyleFamily(
const OUString& rFamily, const OUString& rXMLFamily,
const rtl::Reference < SvXMLExportPropertyMapper >& rPropMapper,
bool bUsed, XmlStyleFamily nFamily, const OUString* pPrefix)