diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-07-31 14:46:59 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-10-02 17:38:14 +0200 |
commit | 97feb234b590e5102b44bfe5794b4ed17901ea50 (patch) | |
tree | 36dee757459976c006942d0065b981182109830c /sw/source | |
parent | ba71c346d6ac60b2c49caed81673d4ca498a6f1e (diff) |
n#772094: pictures was eaten by document default LR settings
Why should we take care of LR Space for SwNoTxtNode... those are
images-like contents that don't contain text.
Change-Id: I58f6d77efc01febf422073032802f57c5158a034
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/layout/frmtool.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index 407f10b2e512..843ba2230ece 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -1851,6 +1851,10 @@ SwBorderAttrs::SwBorderAttrs( const SwModify *pMod, const SwFrm *pConstructor ) { pTxtFrm->GetTxtNode()->ClearLRSpaceItemDueToListLevelIndents( rLR ); } + else if ( pConstructor->IsNoTxtFrm() ) + { + rLR = SvxLRSpaceItem ( RES_LR_SPACE ); + } //Achtung: Die USHORTs fuer die gecache'ten Werte werden absichtlich //nicht initialisiert! |