summaryrefslogtreecommitdiff
path: root/xmloff/qa/unit/uxmloff.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/qa/unit/uxmloff.cxx')
-rw-r--r--xmloff/qa/unit/uxmloff.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/qa/unit/uxmloff.cxx b/xmloff/qa/unit/uxmloff.cxx
index 27edb47004d2..f2b3788ff17f 100644
--- a/xmloff/qa/unit/uxmloff.cxx
+++ b/xmloff/qa/unit/uxmloff.cxx
@@ -75,13 +75,13 @@ void Test::testAutoStylePool()
rtl::Reference< XMLChartExportPropertyMapper > xExportPropMapper(
new XMLChartExportPropertyMapper( xSetMapper, *pExport ) );
- xPool->AddFamily( XML_STYLE_FAMILY_TEXT_PARAGRAPH,
+ xPool->AddFamily( XmlStyleFamily::TEXT_PARAGRAPH,
GetXMLToken( XML_PARAGRAPH ),
xExportPropMapper.get(),
OUString( "Bob" ) );
std::vector< XMLPropertyState > aProperties;
- OUString aName = xPool->Add( XML_STYLE_FAMILY_TEXT_PARAGRAPH, "", aProperties );
+ OUString aName = xPool->Add( XmlStyleFamily::TEXT_PARAGRAPH, "", aProperties );
// not that interesting but worth checking
bool bHack = (getenv("LIBO_ONEWAY_STABLE_ODF_EXPORT") != nullptr);
@@ -91,7 +91,7 @@ void Test::testAutoStylePool()
CPPUNIT_ASSERT_EQUAL_MESSAGE( "style / naming changed", OUString("Bob1"), aName );
// find ourselves again:
- OUString aSameName = xPool->Find( XML_STYLE_FAMILY_TEXT_PARAGRAPH, "", aProperties );
+ OUString aSameName = xPool->Find( XmlStyleFamily::TEXT_PARAGRAPH, "", aProperties );
CPPUNIT_ASSERT_EQUAL_MESSAGE( "same style not found", aName, aSameName );
}