summaryrefslogtreecommitdiff
path: root/svl/source/items/visitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/visitem.cxx')
-rw-r--r--svl/source/items/visitem.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/svl/source/items/visitem.cxx b/svl/source/items/visitem.cxx
index 81523f2be65a..c1788c32d1ed 100644
--- a/svl/source/items/visitem.cxx
+++ b/svl/source/items/visitem.cxx
@@ -17,6 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <string_view>
+
#include <svl/visitem.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <osl/diagnose.h>
@@ -36,7 +40,7 @@ bool SfxVisibilityItem::GetPresentation(SfxItemPresentation,
OUString & rText,
const IntlWrapper&) const
{
- rText = m_nValue.bVisible ? OUStringLiteral(u"TRUE") : OUStringLiteral(u"FALSE");
+ rText = m_nValue.bVisible ? std::u16string_view(u"TRUE") : std::u16string_view(u"FALSE");
return true;
}