diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-04 08:37:10 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-04 07:34:41 +0000 |
commit | 81824d135987712b57e3c81a26f72ae4fabb4031 (patch) | |
tree | f4268731e5af7b5c2658ecab0dcb7d2caa3c2a4d /xmloff/source/style/XMLFontAutoStylePool.cxx | |
parent | 62dbe2e6eb30660f252b4e2c048f4aecf28e41c6 (diff) |
loplugin:stringconstant
Change-Id: I6cc11a273902da8acdb6adbccccc31fe30ab274e
Reviewed-on: https://gerrit.libreoffice.org/19768
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff/source/style/XMLFontAutoStylePool.cxx')
-rw-r--r-- | xmloff/source/style/XMLFontAutoStylePool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx index 57d1ca22db81..13bdfe845353 100644 --- a/xmloff/source/style/XMLFontAutoStylePool.cxx +++ b/xmloff/source/style/XMLFontAutoStylePool.cxx @@ -374,7 +374,7 @@ OUString XMLFontAutoStylePool::embedFontFile( const OUString& fileUrl ) return OUString(); uno::Reference< embed::XStorage > storage; - storage.set( GetExport().GetTargetStorage()->openStorageElement( OUString( "Fonts" ), + storage.set( GetExport().GetTargetStorage()->openStorageElement( "Fonts", ::embed::ElementModes::WRITE ), uno::UNO_QUERY_THROW ); int index = 0; OUString name; |