[Libreoffice-commits] core.git: sd/source
Gülşah Köse (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jul 16 06:46:16 UTC 2019
sd/source/ui/view/drawview.cxx | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
New commits:
commit 40bb9ac690d979ef544d5aa759bd734a176912a0
Author: Gülşah Köse <gulsah.kose at collabora.com>
AuthorDate: Tue Jul 16 00:48:01 2019 +0300
Commit: Gülşah Köse <gulsah.kose at collabora.com>
CommitDate: Tue Jul 16 08:45:39 2019 +0200
tdf#126067 Fix slide scope feature.
Change-Id: I6e2450572b9c6a30526a8a2a91a6e0bf89103475
Reviewed-on: https://gerrit.libreoffice.org/75669
Tested-by: Jenkins
Reviewed-by: Gülşah Köse <gulsah.kose at collabora.com>
diff --git a/sd/source/ui/view/drawview.cxx b/sd/source/ui/view/drawview.cxx
index 702e7bd08cc6..d53c19561b04 100644
--- a/sd/source/ui/view/drawview.cxx
+++ b/sd/source/ui/view/drawview.cxx
@@ -316,7 +316,7 @@ bool DrawView::SetAttributes(const SfxItemSet& rSet,
return bOk;
}
-void DrawView::SetMasterAttributes( SdrObject* pObject, SdPage& rPage, SfxItemSet rSet, SfxStyleSheetBasePool* pStShPool, bool& bOk, bool /*bMaster*/, bool bSlide )
+void DrawView::SetMasterAttributes( SdrObject* pObject, SdPage& rPage, SfxItemSet rSet, SfxStyleSheetBasePool* pStShPool, bool& bOk, bool bMaster, bool bSlide )
{
SdrInventor nInv = pObject->GetObjInventor();
@@ -365,6 +365,8 @@ void DrawView::SetMasterAttributes( SdrObject* pObject, SdPage& rPage, SfxItemSe
}
else if (eObjKind == OBJ_OUTLINETEXT)
{
+ if (bMaster)
+ {
// Presentation object outline
for (sal_uInt16 nLevel = 9; nLevel > 0; nLevel--)
{
@@ -416,6 +418,10 @@ void DrawView::SetMasterAttributes( SdrObject* pObject, SdPage& rPage, SfxItemSe
nWhich = aWhichIter.NextWhich();
}
+ }
+
+ pObject->SetMergedItemSet(rSet);
+
bOk = true;
}
}
More information about the Libreoffice-commits
mailing list