summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorLei De Bin <leidb@apache.org>2012-08-10 04:12:08 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-06-14 09:55:39 +0100
commit0e619cb550390e08930ec2ad58bc5419b1965b0b (patch)
treec59589faf252f3ebef6ea29dda730ccddb86e2ae /sw
parent7edabc8639353aeeaa7457c8f973435d4b668f2f (diff)
Resolves: #i119548# Window/Orphan control setting lost when save .doc file
Reported by: luo qing le Patch by: Lei De Bin Review by: Chen Zuo Jun (cherry picked from commit 9b161d18404d8fac5663bc3b3a854bdd4fad3bf0) Change-Id: I7e51d2fd6b72d08b793b857cf2a3de5989145695
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 96f162257494..4b9449b31d73 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -3727,7 +3727,7 @@ void WW8RStyle::Set1StyleDefaults()
pIo->pAktColl->SetFmtAttr(aAttr);
}
- if( pIo->pWDop->fWidowControl && !bWidowsChanged ) // Widows ?
+ if( /*pIo->pWDop->fWidowControl &&*/ !bWidowsChanged ) // Widows ?
{
pIo->pAktColl->SetFmtAttr( SvxWidowsItem( 2, RES_PARATR_WIDOWS ) );
pIo->pAktColl->SetFmtAttr( SvxOrphansItem( 2, RES_PARATR_ORPHANS ) );