summaryrefslogtreecommitdiff
path: root/include/vcl/stdtext.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/stdtext.hxx')
-rw-r--r--include/vcl/stdtext.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/vcl/stdtext.hxx b/include/vcl/stdtext.hxx
index c98e4c4c7779..c77e5ebfca42 100644
--- a/include/vcl/stdtext.hxx
+++ b/include/vcl/stdtext.hxx
@@ -20,6 +20,10 @@
#ifndef INCLUDED_VCL_STDTEXT_HXX
#define INCLUDED_VCL_STDTEXT_HXX
+#include <sal/config.h>
+
+#include <string_view>
+
#include <rtl/ustring.hxx>
#include <tools/wintypes.hxx>
#include <vcl/dllapi.h>
@@ -27,7 +31,7 @@
class Image;
namespace weld { class Widget; }
-void VCL_DLLPUBLIC ShowServiceNotAvailableError(weld::Widget* pParent, const OUString& rServiceName, bool bError);
+void VCL_DLLPUBLIC ShowServiceNotAvailableError(weld::Widget* pParent, std::u16string_view rServiceName, bool bError);
OUString VCL_DLLPUBLIC GetStandardText(StandardButtonType eButton);