summaryrefslogtreecommitdiff
path: root/include/vcl/toolkit/dialog.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/toolkit/dialog.hxx')
-rw-r--r--include/vcl/toolkit/dialog.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/vcl/toolkit/dialog.hxx b/include/vcl/toolkit/dialog.hxx
index efd2d2f0f6c0..922bb8e46164 100644
--- a/include/vcl/toolkit/dialog.hxx
+++ b/include/vcl/toolkit/dialog.hxx
@@ -25,6 +25,8 @@
#endif
#include <memory>
+#include <string_view>
+
#include <vcl/dllapi.h>
#include <vcl/syswin.hxx>
#include <vcl/vclptr.hxx>
@@ -85,7 +87,7 @@ public:
protected:
explicit Dialog( WindowType nType );
- explicit Dialog( vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription);
+ explicit Dialog( vcl::Window* pParent, std::u16string_view rID, const OUString& rUIXMLDescription);
virtual void Draw( OutputDevice* pDev, const Point& rPos, DrawFlags nFlags ) override;
virtual void settingOptimalLayoutSize(Window *pBox) override;