summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/package/pkgcontent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/package/pkgcontent.cxx')
-rw-r--r--ucb/source/ucp/package/pkgcontent.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx
index cf08c8bdfaaf..a22ab7bdaaed 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -22,6 +22,10 @@
TODO
**************************************************************************
*************************************************************************/
+#include <sal/config.h>
+
+#include <string_view>
+
#include <osl/diagnose.h>
#include <rtl/ustring.hxx>
@@ -224,8 +228,8 @@ OUString Content::getContentType(
return ( OUString::Concat("application/")
+ aScheme
+ ( bFolder
- ? OUStringLiteral(u"-folder")
- : OUStringLiteral(u"-stream") ) );
+ ? std::u16string_view(u"-folder")
+ : std::u16string_view(u"-stream") ) );
}