diff options
author | Rishabh <kris.kr296@yahoo.in> | 2016-01-24 03:58:08 +0530 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-01-25 09:39:33 +0000 |
commit | 8fb5502b25f0ca0e97e3eb07b68d89d21ee3d0ec (patch) | |
tree | eb21026813932428e3141ae18c9f34f2c3dbfd64 | |
parent | 0b99d78015760b72e033f25e8ae126d96fd572a3 (diff) |
Make Position and Size sidebar tab visible when a line is selected
Regression bug introduced by - https://gerrit.libreoffice.org/#/c/16165/ and removal of obsolete writer code.
Change-Id: I8ab2e0c04b5c90fafdb43f34899053df7bd7fb4e
Reviewed-on: https://gerrit.libreoffice.org/21739
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu | 3 | ||||
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu index 92071f80464a..6982bb02f41d 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu @@ -451,7 +451,6 @@ DrawImpress, TextObject, hidden ; DrawImpress, OLE, hidden ; WriterVariants, Draw, visible ; - WriterVariants, DrawLine, visible ; </value> </prop> <prop oor:name="ImplementationURL" oor:type="xs:string"> @@ -505,6 +504,7 @@ <value oor:separator=";"> Calc, Chart, visible ; Calc, Draw, hidden ; + Calc, DrawLine, visible ; Calc, Form, visible ; Calc, Graphic, hidden ; Calc, Media, visible ; @@ -512,6 +512,7 @@ Calc, OLE, visible ; DrawImpress, 3DObject, visible ; DrawImpress, Draw, hidden ; + DrawImpress, DrawLine, visible ; DrawImpress, Form, visible ; DrawImpress, Graphic, hidden ; DrawImpress, Media, visible ; diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index 53d72b66c4b9..e198505a0aa9 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -284,8 +284,10 @@ void PosSizePropertyPanel::HandleContextChange( break; case CombinedEnumContext(Application_Calc, Context_Draw): + case CombinedEnumContext(Application_Calc, Context_DrawLine): case CombinedEnumContext(Application_Calc, Context_Graphic): case CombinedEnumContext(Application_DrawImpress, Context_Draw): + case CombinedEnumContext(Application_DrawImpress, Context_DrawLine): case CombinedEnumContext(Application_DrawImpress, Context_TextObject): case CombinedEnumContext(Application_DrawImpress, Context_Graphic): bShowPosition = true; |