summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/numehelp.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/xmloff/numehelp.hxx b/include/xmloff/numehelp.hxx
index cd976381a274..41d2ddaf29e4 100644
--- a/include/xmloff/numehelp.hxx
+++ b/include/xmloff/numehelp.hxx
@@ -27,6 +27,7 @@
#include <com/sun/star/uno/Reference.hxx>
#include <set>
+#include <string_view>
namespace com::sun::star::util { class XNumberFormats; }
namespace com::sun::star::util { class XNumberFormatsSupplier; }
@@ -91,7 +92,7 @@ public:
bool bExportValue = true);
static void SetNumberFormatAttributes(SvXMLExport& rXMLExport,
const OUString& rValue,
- const OUString& rCharacters,
+ std::u16string_view rCharacters,
bool bExportValue,
bool bExportTypeAttribute = true);
@@ -106,7 +107,7 @@ public:
bool bExportValue = true,
sal_uInt16 nNamespace = XML_NAMESPACE_OFFICE, bool bExportCurrencySymbol = true);
void SetNumberFormatAttributes(const OUString& rValue,
- const OUString& rCharacters,
+ std::u16string_view rCharacters,
bool bExportValue = true,
sal_uInt16 nNamespace = XML_NAMESPACE_OFFICE);
};