summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/pagesettings.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/oox/pagesettings.cxx')
-rw-r--r--sc/source/filter/oox/pagesettings.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/filter/oox/pagesettings.cxx b/sc/source/filter/oox/pagesettings.cxx
index 2d7f49988cc2..b19caea83634 100644
--- a/sc/source/filter/oox/pagesettings.cxx
+++ b/sc/source/filter/oox/pagesettings.cxx
@@ -470,11 +470,11 @@ const char* const sppcItalicNames[] =
} // namespace
-const OUStringLiteral gaPageNumberService( u"com.sun.star.text.TextField.PageNumber" );
-const OUStringLiteral gaPageCountService( u"com.sun.star.text.TextField.PageCount" );
-const OUStringLiteral gaSheetNameService( u"com.sun.star.text.TextField.SheetName" );
-const OUStringLiteral gaFileNameService( u"com.sun.star.text.TextField.FileName" );
-const OUStringLiteral gaDateTimeService( u"com.sun.star.text.TextField.DateTime" );
+constexpr OUStringLiteral gaPageNumberService( u"com.sun.star.text.TextField.PageNumber" );
+constexpr OUStringLiteral gaPageCountService( u"com.sun.star.text.TextField.PageCount" );
+constexpr OUStringLiteral gaSheetNameService( u"com.sun.star.text.TextField.SheetName" );
+constexpr OUStringLiteral gaFileNameService( u"com.sun.star.text.TextField.FileName" );
+constexpr OUStringLiteral gaDateTimeService( u"com.sun.star.text.TextField.DateTime" );
HeaderFooterParser::HeaderFooterParser( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper ),