diff options
Diffstat (limited to 'writerperfect/source/writer/exp/txtparai.cxx')
-rw-r--r-- | writerperfect/source/writer/exp/txtparai.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/writerperfect/source/writer/exp/txtparai.cxx b/writerperfect/source/writer/exp/txtparai.cxx index 11dfd8cfe908..da9c0f28e530 100644 --- a/writerperfect/source/writer/exp/txtparai.cxx +++ b/writerperfect/source/writer/exp/txtparai.cxx @@ -7,6 +7,10 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <sal/config.h> + +#include <string_view> + #include "txtparai.hxx" #include "XMLFootnoteImportContext.hxx" @@ -44,7 +48,7 @@ void FillStyle(const OUString& rName, std::map<OUString, librevenge::RVNGPropert librevenge::RVNGPropertyList::Iter itProp(rStyle); for (itProp.rewind(); itProp.next();) { - if (OString("style:parent-style-name") != itProp.key()) + if (std::string_view("style:parent-style-name") != itProp.key()) rPropertyList.insert(itProp.key(), itProp()->clone()); } } |