summaryrefslogtreecommitdiffstats
path: root/extensions/source/logging/loghandler.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/logging/loghandler.hxx')
-rw-r--r--extensions/source/logging/loghandler.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/extensions/source/logging/loghandler.hxx b/extensions/source/logging/loghandler.hxx
index 89248c811c22..1e0feaa06c7c 100644
--- a/extensions/source/logging/loghandler.hxx
+++ b/extensions/source/logging/loghandler.hxx
@@ -20,6 +20,10 @@
#ifndef INCLUDED_EXTENSIONS_SOURCE_LOGGING_LOGHANDLER_HXX
#define INCLUDED_EXTENSIONS_SOURCE_LOGGING_LOGHANDLER_HXX
+#include <sal/config.h>
+
+#include <string_view>
+
#include <com/sun/star/logging/XLogFormatter.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/logging/LogRecord.hpp>
@@ -59,7 +63,7 @@ namespace logging
void setIsInitialized() { m_bInitialized = true; }
bool getEncoding( OUString& _out_rEncoding ) const;
- bool setEncoding( const OUString& _rEncoding );
+ bool setEncoding( std::u16string_view _rEncoding );
rtl_TextEncoding
getTextEncoding() const { return m_eEncoding; }