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

Tomaž Vajngerl tomaz.vajngerl at collabora.co.uk
Tue Nov 21 02:00:46 UTC 2017


 sd/source/ui/view/drviews2.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 30465a05098246342763977beae625dfbb4dd0ea
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date:   Mon Nov 20 17:51:02 2017 +0900

    TSCP: disable bullets in impress for classification text object
    
    Change-Id: I1f941e3711c2835cbb50af000fcd7ffa9b953edf
    Reviewed-on: https://gerrit.libreoffice.org/44946
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index a7236c03bb94..55fdadcd68ac 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -393,8 +393,6 @@ private:
 
     void fillTheOutliner(Outliner* pOutliner, std::vector<svx::ClassificationResult> const & rResults)
     {
-        pOutliner->SetStyleSheet(0, nullptr);
-
         sal_Int32 nParagraph = -1;
         for (svx::ClassificationResult const & rResult : rResults)
         {
@@ -446,6 +444,9 @@ private:
                     else
                         aItemSet.Put(SvxWeightItem(WEIGHT_NORMAL, EE_CHAR_WEIGHT));
 
+                    SvxNumRule aDefaultNumRule(SvxNumRuleFlags::NONE, 0, false);
+                    aItemSet.Put(SvxNumBulletItem(aDefaultNumRule, EE_PARA_NUMBULLET));
+
                     pOutliner->SetParaAttribs(nParagraph, aItemSet);
                 }
                 break;


More information about the Libreoffice-commits mailing list