diff options
Diffstat (limited to 'reportdesign/source')
-rw-r--r-- | reportdesign/source/ui/report/ScrollHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/ScrollHelper.cxx b/reportdesign/source/ui/report/ScrollHelper.cxx index 08c7d22729d7..305da63c38f4 100644 --- a/reportdesign/source/ui/report/ScrollHelper.cxx +++ b/reportdesign/source/ui/report/ScrollHelper.cxx @@ -122,7 +122,7 @@ Size OScrollWindowHelper::ResizeScrollBars() { // get the new output-size in pixel Size aOutPixSz = GetOutputSizePixel(); - if ( aOutPixSz.Width() == 0 || aOutPixSz.Height() == 0 ) + if ( aOutPixSz.IsEmpty() ) return aOutPixSz; aOutPixSz.AdjustHeight( -(m_aReportWindow->getRulerHeight()) ); |