summaryrefslogtreecommitdiff
path: root/sax/source/tools/fastserializer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sax/source/tools/fastserializer.hxx')
-rw-r--r--sax/source/tools/fastserializer.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sax/source/tools/fastserializer.hxx b/sax/source/tools/fastserializer.hxx
index 0b7ad72d8c0c..109ada3c726f 100644
--- a/sax/source/tools/fastserializer.hxx
+++ b/sax/source/tools/fastserializer.hxx
@@ -28,6 +28,7 @@
#include "CachedOutputStream.hxx"
#include <stack>
+#include <string_view>
#include <map>
#include <memory>
@@ -111,7 +112,7 @@ public:
OString getId( ::sal_Int32 Element );
void write( double value );
- void write( const OUString& s, bool bEscape = false );
+ void write( std::u16string_view s, bool bEscape = false );
void write( const OString& s, bool bEscape = false );
void write( const char* pStr, sal_Int32 nLen, bool bEscape = false );