diff options
Diffstat (limited to 'include/tools/XmlWriter.hxx')
-rw-r--r-- | include/tools/XmlWriter.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/tools/XmlWriter.hxx b/include/tools/XmlWriter.hxx index 7efe3a57353a..a541f21f4e11 100644 --- a/include/tools/XmlWriter.hxx +++ b/include/tools/XmlWriter.hxx @@ -13,6 +13,7 @@ #include <tools/toolsdllapi.h> #include <rtl/ustring.hxx> #include <memory> +#include <string_view> #include <vector> class SvStream; @@ -48,14 +49,14 @@ public: void endElement(); void attribute(const OString& sTagName, const OString& aValue); - void attribute(const OString& sTagName, const OUString& aValue); + void attribute(const OString& sTagName, std::u16string_view aValue); void attribute(const OString& sTagName, sal_Int32 aNumber); void attributeDouble(const OString& sTagName, double aNumber); void attributeBase64(const OString& sTagName, std::vector<sal_uInt8> const& rValueInBytes); void attributeBase64(const OString& sTagName, std::vector<char> const& rValueInBytes); void content(const OString& sValue); - void content(const OUString& sValue); + void content(std::u16string_view sValue); void element(const OString& sName); }; |