diff options
Diffstat (limited to 'toolkit/source/controls')
-rw-r--r-- | toolkit/source/controls/unocontrol.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index fdf7510001ea..54061dd2cabb 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -41,6 +41,7 @@ #include <algorithm> #include <map> +#include <string_view> #include <vector> using namespace ::com::sun::star; @@ -1393,7 +1394,7 @@ void UnoControl::setDesignMode( sal_Bool bOn ) maAccessibleContext.clear(); aModeChangeEvent.Source = *this; - aModeChangeEvent.NewMode = mbDesignMode ? OUStringLiteral(u"design") : OUStringLiteral(u"alive" ); + aModeChangeEvent.NewMode = mbDesignMode ? std::u16string_view(u"design") : std::u16string_view(u"alive" ); } // dispose current AccessibleContext, if we have one - without Mutex lock |