summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtparae.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/txtparae.cxx')
-rw-r--r--xmloff/source/text/txtparae.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 9410c49ca4..2feffad6a9 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -2110,11 +2110,11 @@ void XMLTextParagraphExport::exportParagraph(
("NumberingStartValue"));
- sal_Int32 nStartValue = 0;
-
if (xPropSetInfo->
hasPropertyByName(sNumberingStartValue))
{
+ sal_Int32 nStartValue = 0;
+
xPropSet->getPropertyValue(sNumberingStartValue)
>>= nStartValue;