diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-09-07 16:21:53 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-07 16:49:58 +0200 |
commit | 110dc43d97d559b6369bca308f9dd39fd02e751e (patch) | |
tree | 36a94c966e1659ad9b97d8b9c31fb8eef5ab3d32 /sw | |
parent | a68eaa09a4979dc4814301f137e4186c85dee54f (diff) |
sw: fix not-quite-copypaste code in SwDocStyleSheet::FillStyleSheet()
This causes the temporary creation of frame styles to fail.
Change-Id: I5d148ae008660d9c0f457a4c0e9dc256e0dfc49a
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/app/docstyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx index eb7f8419b1a0..9f4dbdc0be04 100644 --- a/sw/source/uibase/app/docstyle.cxx +++ b/sw/source/uibase/app/docstyle.cxx @@ -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 ); |