diff options
-rw-r--r-- | sw/source/core/tox/ToxWhitespaceStripper.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/misc/glosdoc.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/tox/ToxWhitespaceStripper.cxx b/sw/source/core/tox/ToxWhitespaceStripper.cxx index b2fe68727714..28c9056ce365 100644 --- a/sw/source/core/tox/ToxWhitespaceStripper.cxx +++ b/sw/source/core/tox/ToxWhitespaceStripper.cxx @@ -42,7 +42,7 @@ ToxWhitespaceStripper::ToxWhitespaceStripper(const OUString& inputString) buffer.truncate(buffer.getLength() - 1); } mNewPositions.push_back(buffer.getLength()); - mStripped = buffer.getStr(); + mStripped = buffer.makeStringAndClear(); } diff --git a/sw/source/uibase/misc/glosdoc.cxx b/sw/source/uibase/misc/glosdoc.cxx index d0f6c2db9848..6c047877cded 100644 --- a/sw/source/uibase/misc/glosdoc.cxx +++ b/sw/source/uibase/misc/glosdoc.cxx @@ -341,7 +341,7 @@ static OUString lcl_makePath(const std::vector<OUString>& rPaths) const INetURLObject aTemp(*aIt); aPath.append(aTemp.GetFull()); } - return aPath.getStr(); + return aPath.makeStringAndClear(); } void SwGlossaries::UpdateGlosPath(bool bFull) |