diff options
Diffstat (limited to 'chart2/source/controller/main/ChartController_Window.cxx')
-rw-r--r-- | chart2/source/controller/main/ChartController_Window.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index 0de22676121a..83411df39171 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -1681,11 +1681,11 @@ uno::Any SAL_CALL ChartController::getSelection() sal_Int32 nPos = aCID.lastIndexOf('/'); OUString sFirst = aCID.copy(0, nPos); OUString sSecond = aCID.copy(nPos); - aCID = sFirst; - aCID += "/Draggable=" + OUString::number(static_cast<int>(isSelectedObjectDraggable())); - aCID += ":Resizable=" + OUString::number(static_cast<int>(isSelectedObjectResizable())); - aCID += ":Rotatable=" + OUString::number(static_cast<int>(isSelectedObjectRotatable())); - aCID += sSecond; + aCID = sFirst + + "/Draggable=" + OUString::number(static_cast<int>(isSelectedObjectDraggable())) + + ":Resizable=" + OUString::number(static_cast<int>(isSelectedObjectResizable())) + + ":Rotatable=" + OUString::number(static_cast<int>(isSelectedObjectRotatable())) + + sSecond; } aReturn <<= aCID; } |