diff options
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 14cc1a0f108f..0f33c8287e87 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -1220,13 +1220,13 @@ void SAL_CALL SvxShape::setSize( const awt::Size& rSize ) //aRect.SetSize(aLocalSize); // this call subtract 1 // http://www.openoffice.org/issues/show_bug.cgi?id=83193 if ( !aLocalSize.Width() ) { - aRect.Right() = RECT_EMPTY; + aRect.SetWidthEmpty(); } else aRect.setWidth(aLocalSize.Width()); if ( !aLocalSize.Height() ) { - aRect.Bottom() = RECT_EMPTY; + aRect.SetHeightEmpty(); } else aRect.setHeight(aLocalSize.Height()); |