summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <orw@apache.org>2013-06-13 13:53:16 +0000
committerOliver-Rainer Wittmann <orw@apache.org>2013-06-13 13:53:16 +0000
commitba9e13a1ebad1569cd5ccf65925a06329ba0d188 (patch)
tree69a0ff1c9c245d5c422c06ad97a849d348106d75
parentcd6db555e6a2b3befc11698fe2a3c443780b6a7d (diff)
122529: only check position protection when moving a text frame, graphic or embedded object in Writer
Notes
-rw-r--r--sw/source/ui/docvw/edtwin.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index c577b218a705..392d9821b2f7 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -977,14 +977,8 @@ void SwEditWin::ChangeFly( sal_uInt8 nDir, sal_Bool bWeb )
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,