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/source/dialog/charmap.cxx | |
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/source/dialog/charmap.cxx')
-rw-r--r-- | svx/source/dialog/charmap.cxx | 2 |
1 files changed, 1 insertions, 1 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 ); |