Kaydet (Commit) 110dc43d authored tarafından Michael Stahl's avatar Michael Stahl

sw: fix not-quite-copypaste code in SwDocStyleSheet::FillStyleSheet()

This causes the temporary creation of frame styles to fail.

Change-Id: I5d148ae008660d9c0f457a4c0e9dc256e0dfc49a
üst a68eaa09
......@@ -1769,7 +1769,7 @@ bool SwDocStyleSheet::FillStyleSheet( FillStyleType eFType )
case SFX_STYLE_FAMILY_FRAME:
pFrameFormat = lcl_FindFrameFormat(rDoc, aName, this, bCreate);
bPhysical = 0 != pFrameFormat;
if( bFillOnlyInfo && bPhysical )
if (bFillOnlyInfo && !bPhysical)
{
bDeleteInfo = true;
::lcl_SaveStyles( static_cast< sal_uInt16 >(nFamily), aDelArr, rDoc );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment