summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorandreas kainz <kainz.a@gmail.com>2020-01-23 23:34:59 +0100
committerandreas_kainz <kainz.a@gmail.com>2020-01-24 22:20:17 +0100
commita22de0aacc9fb4197e9051f572b1a9298b2472e2 (patch)
treeceff79fd22374027043ddf11acc649270b7246f0 /framework
parent0042b77de2f94f5b8af60abff2ec8e352d4fbd66 (diff)
tdf#130096 Wrap Sidebar update use common .uno commands and layout
Change-Id: Ie8185169582616179fd96850283836f4e3d60ad1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87309 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/source/fwe/xml/toolboxdocumenthandler.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/source/fwe/xml/toolboxdocumenthandler.cxx b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
index 1ded389cdcce..a01e0fc649cf 100644
--- a/framework/source/fwe/xml/toolboxdocumenthandler.cxx
+++ b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
@@ -369,6 +369,10 @@ void SAL_CALL OReadToolBoxDocumentHandler::startElement(
aCommandURL = ".uno:AlignRight";
else if (aCommandURL == ".uno:AlignRight")
aCommandURL = ".uno:AlignLeft";
+ else if (aCommandURL == ".uno:WrapLeft")
+ aCommandURL = ".uno:WrapRight";
+ else if (aCommandURL == ".uno:WrapRight")
+ aCommandURL = ".uno:WrapLeft";
}
auto aToolbarItemProp( comphelper::InitPropertySequence( {