summaryrefslogtreecommitdiff
path: root/oox/source/dump/pptxdumper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-13 21:04:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-14 11:25:07 +0200
commit250a70dc37a921b71049817d5e46aae2eb4cced6 (patch)
tree7ed4a47122280c6cb63412e786ef3b89e2ef1c3d /oox/source/dump/pptxdumper.cxx
parent41fa4bb83ad95f0b2171808b405fa755613cef81 (diff)
use more string_view in oox
Change-Id: I25fe1cbfae43bb533e7dfc2561d0b70976aa6a40 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132985 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/dump/pptxdumper.cxx')
-rw-r--r--oox/source/dump/pptxdumper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/dump/pptxdumper.cxx b/oox/source/dump/pptxdumper.cxx
index fb1b42fb10b5..dba538593aae 100644
--- a/oox/source/dump/pptxdumper.cxx
+++ b/oox/source/dump/pptxdumper.cxx
@@ -42,7 +42,7 @@ RootStorageObject::RootStorageObject( const DumperBase& rParent )
void RootStorageObject::implDumpStream( const Reference< XInputStream >& rxStrm, const OUString& rStrgPath, const OUString& rStrmName, const OUString& rSysFileName )
{
- OUString aExt = InputOutputHelper::getFileNameExtension( rStrmName );
+ OUString aExt( InputOutputHelper::getFileNameExtension( rStrmName ) );
if( aExt.equalsIgnoreAsciiCase("pptx") ||
aExt.equalsIgnoreAsciiCase("potx") )
{