diff options
Diffstat (limited to 'cui/source/tabpages/tparea.cxx')
-rw-r--r-- | cui/source/tabpages/tparea.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx index aa45639d1e14..95b511223a16 100644 --- a/cui/source/tabpages/tparea.cxx +++ b/cui/source/tabpages/tparea.cxx @@ -70,9 +70,9 @@ namespace void lclExtendSize(Size& rSize, const Size& rInputSize) { if (rSize.Width() < rInputSize.Width()) - rSize.Width() = rInputSize.Width(); + rSize.setWidth( rInputSize.Width() ); if (rSize.Height() < rInputSize.Height()) - rSize.Height() = rInputSize.Height(); + rSize.setHeight( rInputSize.Height() ); } } // end anonymous namespace |