summaryrefslogtreecommitdiff
path: root/xmloff/source/style/numehelp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/numehelp.cxx')
-rw-r--r--xmloff/source/style/numehelp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/numehelp.cxx b/xmloff/source/style/numehelp.cxx
index 259d6d9c943b..55ec5ad9abc8 100644
--- a/xmloff/source/style/numehelp.cxx
+++ b/xmloff/source/style/numehelp.cxx
@@ -170,7 +170,7 @@ void XMLNumberFormatAttributesExportHelper::WriteAttributes(SvXMLExport& rXMLExp
}
if (bExportValue)
{
- if ( rXMLExport.GetMM100UnitConverter().setNullDate(rXMLExport.GetModel()) )
+ if ( rXMLExport.SetNullDateOnUnitConverter() )
{
rtl::OUStringBuffer sBuffer;
rXMLExport.GetMM100UnitConverter().convertDateTime(sBuffer, rValue);
@@ -453,7 +453,7 @@ void XMLNumberFormatAttributesExportHelper::WriteAttributes(
}
if (bExportValue)
{
- if ( pExport->GetMM100UnitConverter().setNullDate(pExport->GetModel()) )
+ if ( pExport->SetNullDateOnUnitConverter() )
{
rtl::OUStringBuffer sBuffer;
pExport->GetMM100UnitConverter().convertDateTime(sBuffer, rValue);