summaryrefslogtreecommitdiff
path: root/package/inc/ZipPackageFolder.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-28 17:56:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-29 16:42:33 +0100
commit042033f1e6da22616cb76c8d950c20c9efecbad5 (patch)
tree26b3f1f42d067506f44550b410f3fb9640616a5b /package/inc/ZipPackageFolder.hxx
parentccfd8e9d09f9ac0a0ea92d0f378391006faaf934 (diff)
loplugin:stringviewparam: operator +
Change-Id: I044dd21b63d7eb03224675584fa143009c6b6008 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108418 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'package/inc/ZipPackageFolder.hxx')
-rw-r--r--package/inc/ZipPackageFolder.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/inc/ZipPackageFolder.hxx b/package/inc/ZipPackageFolder.hxx
index c99f8f2a6b27..96d486fc6e3c 100644
--- a/package/inc/ZipPackageFolder.hxx
+++ b/package/inc/ZipPackageFolder.hxx
@@ -26,6 +26,8 @@
#include "HashMaps.hxx"
#include "ZipPackageEntry.hxx"
#include <cppuhelper/implbase.hxx>
+
+#include <string_view>
#include <vector>
class ZipOutputStream;
@@ -52,7 +54,7 @@ public:
const OUString& GetVersion() const { return m_sVersion; }
void SetVersion( const OUString& aVersion ) { m_sVersion = aVersion; }
- bool LookForUnexpectedODF12Streams( const OUString& aPath );
+ bool LookForUnexpectedODF12Streams( std::u16string_view aPath );
void setChildStreamsTypeByExtension( const css::beans::StringPair& aPair );