Author: orw
Date: Thu Jun 13 13:53:16 2013
New Revision: 1492675

URL: http://svn.apache.org/r1492675
Log:
122529: only check position protection when moving a text frame, graphic or 
embedded object in Writer

Modified:
    openoffice/trunk/main/sw/source/ui/docvw/edtwin.cxx

Modified: openoffice/trunk/main/sw/source/ui/docvw/edtwin.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/docvw/edtwin.cxx?rev=1492675&r1=1492674&r2=1492675&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/ui/docvw/edtwin.cxx (original)
+++ openoffice/trunk/main/sw/source/ui/docvw/edtwin.cxx Thu Jun 13 13:53:16 2013
@@ -977,14 +977,8 @@ void SwEditWin::ChangeFly( sal_uInt8 nDi
     SwWrtShell &rSh = rView.GetWrtShell();
     SwRect aTmp = rSh.GetFlyRect();
     if( aTmp.HasArea() &&
-        // --> FME 2005-01-13 #i40348#
-        // IsSelObjProtected() seems to be the correct condition, not
-        // !HasReadonlySel(), otherwise frame is not moveable if content is
-        // protected.
-        !rSh.IsSelObjProtected( FLYPROTECT_POS|FLYPROTECT_SIZE ) )
-        // <--
+        !rSh.IsSelObjProtected( FLYPROTECT_POS ) )
     {
-        // OD 18.09.2003 #i18732# - add item <RES_FOLLOW_TEXT_FLOW>
         SfxItemSet aSet(rSh.GetAttrPool(),
                         RES_FRM_SIZE, RES_FRM_SIZE,
                         RES_VERT_ORIENT, RES_ANCHOR,


Reply via email to