summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/DocumentMetadataAccess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/DocumentMetadataAccess.cxx')
-rw-r--r--sfx2/source/doc/DocumentMetadataAccess.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx
index 730c64e28cb0..0a931f4088ef 100644
--- a/sfx2/source/doc/DocumentMetadataAccess.cxx
+++ b/sfx2/source/doc/DocumentMetadataAccess.cxx
@@ -75,7 +75,7 @@ using namespace ::com::sun::star;
namespace sfx2 {
-bool isValidNCName(OUString const & i_rIdref)
+bool isValidNCName(std::u16string_view i_rIdref)
{
const OString id(
OUStringToOString(i_rIdref, RTL_TEXTENCODING_UTF8) );
@@ -101,7 +101,7 @@ static bool isStylesFile (OUString const & i_rPath)
}
bool isValidXmlId(OUString const & i_rStreamName,
- OUString const & i_rIdref)
+ std::u16string_view i_rIdref)
{
return isValidNCName(i_rIdref)
&& (isContentFile(i_rStreamName) || isStylesFile(i_rStreamName));