summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-11-20 17:51:02 +0900
committerTomaž Vajngerl <quikee@gmail.com>2017-11-21 03:00:20 +0100
commit30465a05098246342763977beae625dfbb4dd0ea (patch)
tree7f9d8d8b928de870dcc8f99c3546ab5d2feeadf4 /sd
parent495d25bf653f3e0752982a889443b02fc374b0ed (diff)
TSCP: disable bullets in impress for classification text object
Change-Id: I1f941e3711c2835cbb50af000fcd7ffa9b953edf Reviewed-on: https://gerrit.libreoffice.org/44946 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drviews2.cxx5
1 files changed, 3 insertions, 2 deletions
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;