summaryrefslogtreecommitdiffstats
path: root/chart2
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-09-04 12:41:12 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-09-05 09:38:39 +0200
commit8664e88bc2006d6bcf477f7efafc0308b75a77d7 (patch)
tree293280ed72cd1483411cffd08ee0468a4622d3b1 /chart2
parentfix windows build after my OUString changes (diff)
downloadcore-8664e88bc2006d6bcf477f7efafc0308b75a77d7.tar.gz
core-8664e88bc2006d6bcf477f7efafc0308b75a77d7.zip
XubString to OUString
And simplify: SdrMarkView::ImpTakeDescriptionStr SdrUndoObj::GetDescriptionStringForObject ImpTakeDescriptionStr checks for %1 occurence first, this seems to me like an optimization. So I left it in. Change-Id: I2d0ecfdf2b83a9a535bd893578837e549dd691c1
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/DragMethod_Base.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/DragMethod_Base.cxx b/chart2/source/controller/main/DragMethod_Base.cxx
index e7768078ba3d..6da22f590ab7 100644
--- a/chart2/source/controller/main/DragMethod_Base.cxx
+++ b/chart2/source/controller/main/DragMethod_Base.cxx
@@ -66,7 +66,7 @@ OUString DragMethod_Base::getUndoDescription() const
}
void DragMethod_Base::TakeSdrDragComment(OUString& rStr) const
{
- rStr = String( getUndoDescription() );
+ rStr = getUndoDescription();
}
Pointer DragMethod_Base::GetSdrDragPointer() const
{