summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <od@openoffice.org>2011-05-13 16:33:26 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-05-13 16:49:22 +0200
commit47f7b6d36ea6059d2cc770f7e752cade18bce345 (patch)
tree03b3c63ca0bc5741a063add6fbe2bdfeb292614b /sw/inc
parentca1d46a4dff0e83245abe09cf87764147a8125d9 (diff)
sw34bf06: #i117189# - refine condition for non-resizable objects
Refine condition for non-resizable objects to apply its size back via new parameter <bNoTxtFrmPrtAreaChanged>. Otherwise non-resizable objects are always reloaded. Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/fesh.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 5cf3e9b61f..7cd094f5f9 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -410,7 +410,8 @@ public:
// Else the size is provided via GetCurFlyRect().
virtual void CalcAndSetScale( svt::EmbeddedObjectRef& xObj,
const SwRect *pFlyPrtRect = 0,
- const SwRect *pFlyFrmRect = 0 ) = 0;
+ const SwRect *pFlyFrmRect = 0,
+ const bool bNoTxtFrmPrtAreaChanged = false ) = 0;
// Connect objects with ActivateWhenVisible at Paint.
// Called by notxtfrm::Paint, implemented in wrtsh.