summaryrefslogtreecommitdiff
path: root/sfx2/source/control/thumbnailviewitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/control/thumbnailviewitem.cxx')
-rw-r--r--sfx2/source/control/thumbnailviewitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/thumbnailviewitem.cxx b/sfx2/source/control/thumbnailviewitem.cxx
index e858bb9f0834..3e6a083a98ee 100644
--- a/sfx2/source/control/thumbnailviewitem.cxx
+++ b/sfx2/source/control/thumbnailviewitem.cxx
@@ -248,7 +248,7 @@ void ThumbnailViewItem::addTextPrimitives (const OUString& rText, const Thumbnai
--nLength;
}
- aText = aText.copy(0, nLineStart+nLength) + "...";
+ aText = OUString::Concat(aText.subView(0, nLineStart+nLength)) + "...";
nLineLength = nLength + 3;
}