diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:37:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:37:28 +0100 |
commit | bf6b30ba95bbb70d556b479ed91026156ed04d29 (patch) | |
tree | 975ae991095ba009ce645545395284a1e2cd3802 /starmath/source/eqnolefilehdr.cxx | |
parent | 201c98c60d52530de075326b269002f23c4c2775 (diff) |
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: Id5b78aa78fc585a67712fa44329479a86230d194
Diffstat (limited to 'starmath/source/eqnolefilehdr.cxx')
-rw-r--r-- | starmath/source/eqnolefilehdr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/eqnolefilehdr.cxx b/starmath/source/eqnolefilehdr.cxx index 0853ebd1cac8..ed7c0044ce5c 100644 --- a/starmath/source/eqnolefilehdr.cxx +++ b/starmath/source/eqnolefilehdr.cxx @@ -33,7 +33,7 @@ bool GetMathTypeVersion( SotStorage* pStor, sal_uInt8 &nVersion ) // code snippet copied from MathType::Parse tools::SvRef<SotStorageStream> xSrc = pStor->OpenSotStream( - OUString("Equation Native"), + "Equation Native", STREAM_STD_READ | StreamMode::NOCREATE); if ( (!xSrc.Is()) || (SVSTREAM_OK != xSrc->GetError())) return bSuccess; |