summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorRishabh <kris.kr296@yahoo.in>2016-01-24 03:58:08 +0530
committerKatarina Behrens <Katarina.Behrens@cib.de>2016-01-25 09:39:33 +0000
commit8fb5502b25f0ca0e97e3eb07b68d89d21ee3d0ec (patch)
treeeb21026813932428e3141ae18c9f34f2c3dbfd64 /svx/source
parent0b99d78015760b72e033f25e8ae126d96fd572a3 (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>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/sidebar/possize/PosSizePropertyPanel.cxx2
1 files changed, 2 insertions, 0 deletions
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;