~ubuntu-branches/ubuntu/raring/calligra/raring-proposed

« back to all changes in this revision

Viewing changes to words/part/KWCanvasBase.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-01-15 17:26:10 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20130115172610-b193s9546hyssmym
Tags: 1:2.5.94-0ubuntu1
New upstream RC release

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include "KWViewMode.h"
29
29
#include "KWPage.h"
30
30
#include "KWPageCacheManager.h"
 
31
#include "frames/KWFrameLayout.h"
31
32
 
32
33
// calligra libs includes
33
34
#include <KoShapeManager.h>
138
139
        else if (shapeBounds.bottom() < pageRect.top()) // need to move down some
139
140
            move.setY(move.y() + pageRect.top() - shapeBounds.bottom());
140
141
    }
 
142
 
 
143
    // Also make sure any anchoring restrictions are adhered to
 
144
    KWFrameLayout::proposeShapeMove(shape, move, page);
141
145
}
142
146
 
143
147
KoGuidesData *KWCanvasBase::guidesData()