incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1349168 - /incubator/ooo/trunk/main/sw/source/core/draw/dcontact.cxx
Date Tue, 12 Jun 2012 07:45:30 GMT
Author: chengjh
Date: Tue Jun 12 07:45:29 2012
New Revision: 1349168

URL: http://svn.apache.org/viewvc?rev=1349168&view=rev
Log: (empty)

Modified:
    incubator/ooo/trunk/main/sw/source/core/draw/dcontact.cxx

Modified: incubator/ooo/trunk/main/sw/source/core/draw/dcontact.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/core/draw/dcontact.cxx?rev=1349168&r1=1349167&r2=1349168&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/core/draw/dcontact.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/core/draw/dcontact.cxx Tue Jun 12 07:45:29 2012
@@ -1505,8 +1505,12 @@ void SwDrawContact::_Changed( const SdrO
                     // of as-character anchored object
                     if ( bAnchoredAsChar )
                     {
-                        const_cast<SwAnchoredDrawObject*>(pAnchoredDrawObj)
-                            ->AnchorFrm()->Prepare( PREP_FLY_ATTR_CHG, GetFmt() );
+						//-->Modified for i119654,2012.6.8                        
+						SwFrm *pAnchorFrame = NULL;
+                        if ( pAnchoredDrawObj && ( pAnchorFrame = 
+								const_cast<SwAnchoredDrawObject*>( pAnchoredDrawObj )->AnchorFrm() ) )
+							pAnchorFrame->Prepare( PREP_FLY_ATTR_CHG, GetFmt() );
+						//<--
                     }
                     // <--
                 }



Mime
View raw message