summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorShivam Kumar Singh <shivamhere247@gmail.com>2020-01-17 00:49:30 +0530
committerRegina Henschel <rb.henschel@t-online.de>2020-01-18 17:20:54 +0100
commit4efe996eb593387e0a5e7a58f4e29b32bdf92098 (patch)
tree3045db0d971fcf726be50b358d36391f13b7f161 /sd
parent52a26b146542526dc4f6bb193ffb4fd95e4f79fd (diff)
tdf#123841 unfilled rectangles would make filled rectangles
The error was basically in drawdoc4.cxx where the "Object without Filling" was left empty. I added the command to Fill the object with FillStyle_NONE Change-Id: I68e9dbc7223533319c1279be68bfaab9eb2dd143 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86944 Reviewed-by: Regina Henschel <rb.henschel@t-online.de> Tested-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/drawdoc4.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index 26f0142b6292..59687f189450 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -255,6 +255,9 @@ void SdDrawDocument::CreateLayoutTemplates()
pSheet = &(pSSPool->Make(aName, SfxStyleFamily::Para, nMask));
pSheet->SetParent(aStdName);
pSheet->SetHelpId( aHelpFile, HID_POOLSHEET_OBJWITHOUTFILL );
+ pISet = &pSheet->GetItemSet();
+
+ pISet->Put(XFillStyleItem(drawing::FillStyle_NONE));
}
// Default > Object no fill no line
{