Kaydet (Commit) da53c44d authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

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
üst 40db75b6
...@@ -1850,6 +1850,10 @@ SwBorderAttrs::SwBorderAttrs( const SwModify *pMod, const SwFrm *pConstructor ) ...@@ -1850,6 +1850,10 @@ SwBorderAttrs::SwBorderAttrs( const SwModify *pMod, const SwFrm *pConstructor )
{ {
pTxtFrm->GetTxtNode()->ClearLRSpaceItemDueToListLevelIndents( rLR ); pTxtFrm->GetTxtNode()->ClearLRSpaceItemDueToListLevelIndents( rLR );
} }
else if ( pConstructor->IsNoTxtFrm() )
{
rLR = SvxLRSpaceItem ( RES_LR_SPACE );
}
//Achtung: Die USHORTs fuer die gecache'ten Werte werden absichtlich //Achtung: Die USHORTs fuer die gecache'ten Werte werden absichtlich
//nicht initialisiert! //nicht initialisiert!
......
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