summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtexppr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/txtexppr.cxx')
-rw-r--r--xmloff/source/text/txtexppr.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/text/txtexppr.cxx b/xmloff/source/text/txtexppr.cxx
index 542ca8de84c1..5db79f5bc7a4 100644
--- a/xmloff/source/text/txtexppr.cxx
+++ b/xmloff/source/text/txtexppr.cxx
@@ -1156,7 +1156,6 @@ static bool lcl_IsOutlineStyle(const SvXMLExport &rExport, const OUString & rNam
xCNSupplier(rExport.GetModel(), UNO_QUERY);
OUString sOutlineName;
- OUString sName("Name");
if (xCNSupplier.is())
{
@@ -1165,7 +1164,7 @@ static bool lcl_IsOutlineStyle(const SvXMLExport &rExport, const OUString & rNam
DBG_ASSERT( xNumRule.is(), "no chapter numbering rules" );
if (xNumRule.is())
{
- xNumRule->getPropertyValue(sName) >>= sOutlineName;
+ xNumRule->getPropertyValue("Name") >>= sOutlineName;
}
}