summaryrefslogtreecommitdiff
path: root/svtools/source/control/filectrl.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-08-24 12:34:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:39 +0100
commit2f002e3a49da3fb797d564864acb34f6dc61f9de (patch)
tree5828accb6adfa4390d78c6cc5b9d2edd146cc61c /svtools/source/control/filectrl.cxx
parent8eaf8158156935a0e5b7ed2d1bf56e9f759629de (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 'svtools/source/control/filectrl.cxx')
-rw-r--r--svtools/source/control/filectrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/filectrl.cxx b/svtools/source/control/filectrl.cxx
index 5af9c8037f35..734b6842f374 100644
--- a/svtools/source/control/filectrl.cxx
+++ b/svtools/source/control/filectrl.cxx
@@ -172,8 +172,8 @@ void FileControl::Resize()
}
long nButtonWidth = nButtonTextWidth+ButtonBorder;
- maEdit.SetPosSizePixel( 0, 0, aOutSz.Width()-nButtonWidth, aOutSz.Height() );
- maButton.SetPosSizePixel( aOutSz.Width()-nButtonWidth, 0, nButtonWidth, aOutSz.Height() );
+ maEdit.setPosSizePixel( 0, 0, aOutSz.Width()-nButtonWidth, aOutSz.Height() );
+ maButton.setPosSizePixel( aOutSz.Width()-nButtonWidth, 0, nButtonWidth, aOutSz.Height() );
mnInternalFlags &= ~FILECTRL_INRESIZE; //InResize = sal_False
}