[Libreoffice-commits] core.git: sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 8 20:48:01 UTC 2018


 sd/source/ui/view/drtxtob.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 0a1a4ffb4f87adff7fbbbc60202b6a0e42fedd0c
Author:     Maxim Monastirsky <momonasmon at gmail.com>
AuthorDate: Wed Aug 8 01:16:40 2018 +0300
Commit:     Maxim Monastirsky <momonasmon at gmail.com>
CommitDate: Wed Aug 8 22:47:37 2018 +0200

    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 at gmail.com>

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();


More information about the Libreoffice-commits mailing list