diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-08-24 12:34:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:39 +0100 |
commit | 2f002e3a49da3fb797d564864acb34f6dc61f9de (patch) | |
tree | 5828accb6adfa4390d78c6cc5b9d2edd146cc61c /svx | |
parent | 8eaf8158156935a0e5b7ed2d1bf56e9f759629de (diff) |
having two SetPosSizePixel is a blasted nuisance
Lets rename the multiargument SetPosSizePixel to
setPosSizePixel drop the various using Window::SetPosSizePixel
and work towards de-virtualizing SetPosSizePixel/SetPosPixel and
SetSizePixel and doing the work in a virtual setPosSizePixel
Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/charmap.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/docrecovery.cxx | 2 | ||||
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx index 4ba87f375966..409d5cba61af 100644 --- a/svx/source/dialog/charmap.cxx +++ b/svx/source/dialog/charmap.cxx @@ -494,7 +494,7 @@ void SvxShowCharSet::SetFont( const Font& rFont ) if( bNeedVscroll) { - aVscrollSB.SetPosSizePixel( nX * COLUMN_COUNT, 0, SBWIDTH, nY * ROW_COUNT ); + aVscrollSB.setPosSizePixel( nX * COLUMN_COUNT, 0, SBWIDTH, nY * ROW_COUNT ); aVscrollSB.SetRangeMin( 0 ); int nLastRow = (maFontCharMap.GetCharCount() - 1 + COLUMN_COUNT) / COLUMN_COUNT; aVscrollSB.SetRangeMax( nLastRow ); diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index 4c6cf8413ed8..59126ffc1643 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -631,7 +631,7 @@ PluginProgressWindow::PluginProgressWindow( Window* Show(); Size aParentSize = pParent->GetSizePixel(); // align the progressbar to its parent - SetPosSizePixel( -9, 0, aParentSize.Width() + 15, aParentSize.Height() - 4 ); + setPosSizePixel( -9, 0, aParentSize.Width() + 15, aParentSize.Height() - 4 ); } //=============================================== diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index a3809b7ab8b2..67e67aa12d9c 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -1326,7 +1326,7 @@ SvxLineWindow_Impl::SvxLineWindow_Impl( sal_uInt16 nId, const Reference< XFrame { } - m_aLineStyleLb.SetPosSizePixel( 2, 2, 110, 140 ); + m_aLineStyleLb.setPosSizePixel( 2, 2, 110, 140 ); SetOutputSizePixel( Size( 114, 144 ) ); m_aLineStyleLb.SetSourceUnit( FUNIT_TWIP ); |