summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2018-08-08 01:16:40 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2018-08-08 22:47:37 +0200
commit0a1a4ffb4f87adff7fbbbc60202b6a0e42fedd0c (patch)
tree98e23ea49c142a39c8989bb44a5f8bc331ff29de /sd
parentf536bff1dc0e80c6ef23d132edf471ea75ffb05e (diff)
tdf#83659 Enable outline commands for text boxes and tables
Change-Id: I2fff7354556769104e9ffaafc504d3159f63e4e8 Reviewed-on: https://gerrit.libreoffice.org/58748 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drtxtob.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx
index 43e1c4f808f6..80344d76b1d9 100644
--- a/sd/source/ui/view/drtxtob.cxx
+++ b/sd/source/ui/view/drtxtob.cxx
@@ -268,8 +268,7 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet )
bool bOutlineViewSh = dynamic_cast< const OutlineViewShell *>( mpViewShell ) != nullptr;
- if (pOLV &&
- ( pOLV->GetOutliner()->GetMode() == OutlinerMode::OutlineObject || bOutlineViewSh ) )
+ if (pOLV)
{
// Outliner at outline-mode
::Outliner* pOutl = pOLV->GetOutliner();