summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unomodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/unoidl/unomodel.cxx')
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 341a74dd8c62..cc129aa487f3 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -1590,7 +1590,9 @@ void ImplPDFExportComments( const uno::Reference< drawing::XDrawPage >& xPage, v
Date aDate( aDateTime.Day, aDateTime.Month, aDateTime.Year );
::tools::Time aTime( ::tools::Time::EMPTY );
- OUString aStr( SvxDateTimeField::GetFormatted( aDate, aTime, SVXDATEFORMAT_B, *(SD_MOD()->GetNumberFormatter()), eLanguage ) );
+ OUString aStr = SvxDateTimeField::GetFormatted( aDate, aTime,
+ SvxDateFormat::B, SvxTimeFormat::AppDefault,
+ *(SD_MOD()->GetNumberFormatter()), eLanguage );
vcl::PDFNote aNote;
OUString sTitle( xAnnotation->getAuthor() );