diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-12-14 17:53:14 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-15 06:55:00 +0000 |
commit | 3fefcf1e4b5f53f281aee0a1860e8a0ed1acc6ae (patch) | |
tree | 41a59ff3a70dedadcaf7fe2492769b28239ef335 /sw/source/filter/ww8/ww8glsy.cxx | |
parent | d15b4e204598fc7e4c1682c4f10228e217575937 (diff) |
decloak some string literals
and remove explicit OUString ctor calls, now criticised by
[loplugin:stringconstant]
Change-Id: I778df2f410108e1386431a0035101444ec44c951
Reviewed-on: https://gerrit.libreoffice.org/32014
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/ww8glsy.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8glsy.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8glsy.cxx b/sw/source/filter/ww8/ww8glsy.cxx index 3b335d128a6f..c80a26082796 100644 --- a/sw/source/filter/ww8/ww8glsy.cxx +++ b/sw/source/filter/ww8/ww8glsy.cxx @@ -42,8 +42,8 @@ WW8Glossary::WW8Glossary(tools::SvRef<SotStorageStream> &refStrm, sal_uInt8 nVer if (aWwFib.m_nFibBack >= 0x6A) //Word97 { - xTableStream = pStg->OpenSotStream(OUString::createFromAscii( - aWwFib.m_fWhichTableStm ? SL::a1Table : SL::a0Table), StreamMode::STD_READ); + xTableStream = pStg->OpenSotStream( + aWwFib.m_fWhichTableStm ? SL::a1Table : SL::a0Table, StreamMode::STD_READ); if (xTableStream.Is() && SVSTREAM_OK == xTableStream->GetError()) { |