diff options
Diffstat (limited to 'writerperfect/qa')
-rw-r--r-- | writerperfect/qa/unit/EPUBExportTest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/qa/unit/EPUBExportTest.cxx b/writerperfect/qa/unit/EPUBExportTest.cxx index 172b9e0ac9a2..247448ba32c9 100644 --- a/writerperfect/qa/unit/EPUBExportTest.cxx +++ b/writerperfect/qa/unit/EPUBExportTest.cxx @@ -126,7 +126,7 @@ std::map<OUString, std::vector<OUString>> EPUBExportTest::parseCss(const OUStrin pStream->ReadLine(aLine); if (aLine.endsWith("{")) // '.name {' -> 'name' - aRuleName = OUString::fromUtf8(aLine.copy(1, aLine.getLength() - 3)); + aRuleName = OUString::fromUtf8(aLine.subView(1, aLine.getLength() - 3)); else if (aLine.endsWith(";")) aRet[aRuleName].push_back(OUString::fromUtf8(aLine)); } |