diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-10-26 14:55:41 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-10-30 12:13:17 +0100 |
commit | 3444a3086c8fe8966953434a7fbe76802df8a149 (patch) | |
tree | d57600acfdd778f1487f3079094b25d2998ecb37 /sw/source/core/doc/notxtfrm.cxx | |
parent | 75d4e779e408bd532ddeda2b18923806c920b4a7 (diff) |
Adapted to get methods and WriteAccess helpers
Change-Id: Ife3c1b2391ad7beae8c7f31f796b1454709ddd26
Diffstat (limited to 'sw/source/core/doc/notxtfrm.cxx')
-rw-r--r-- | sw/source/core/doc/notxtfrm.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx index c126267190cb..18fa63ca2b99 100644 --- a/sw/source/core/doc/notxtfrm.cxx +++ b/sw/source/core/doc/notxtfrm.cxx @@ -480,9 +480,8 @@ void SwNoTextFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/) if ( !mbValidSize ) { - SwRect aFrm(getSwFrame()); + SwFrameRect::FrameWriteAccess aFrm(*this); aFrm.Width( GetUpper()->getSwPrint().Width() ); - setSwFrame(aFrm); } MakePrtArea( rAttrs ); |