summaryrefslogtreecommitdiffstats
path: root/basctl/source/dlged/propbrw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/dlged/propbrw.cxx')
-rw-r--r--basctl/source/dlged/propbrw.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx
index 8c42ca2ec0c7..963674da5f7f 100644
--- a/basctl/source/dlged/propbrw.cxx
+++ b/basctl/source/dlged/propbrw.cxx
@@ -156,8 +156,8 @@ void PropBrw::ImplReCreateController()
Point aPropWinPos = Point( WIN_BORDER, WIN_BORDER );
Size aPropWinSize(STD_WIN_SIZE_X,STD_WIN_SIZE_Y);
- aPropWinSize.Width() -= (2*WIN_BORDER);
- aPropWinSize.Height() -= (2*WIN_BORDER);
+ aPropWinSize.setWidth( aPropWinSize.Width() - (2*WIN_BORDER) );
+ aPropWinSize.setHeight( aPropWinSize.Height() - (2*WIN_BORDER) );
if ( m_xBrowserComponentWindow.is() )
{
@@ -426,8 +426,8 @@ void PropBrw::Resize()
// adjust size
Size aSize_ = GetOutputSizePixel();
Size aPropWinSize( aSize_ );
- aPropWinSize.Width() -= (2*WIN_BORDER);
- aPropWinSize.Height() -= (2*WIN_BORDER);
+ aPropWinSize.setWidth( aPropWinSize.Width() - (2*WIN_BORDER) );
+ aPropWinSize.setHeight( aPropWinSize.Height() - (2*WIN_BORDER) );
if (m_xBrowserComponentWindow.is())
{