summaryrefslogtreecommitdiff
path: root/dbaccess
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 /dbaccess
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 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/VertSplitView.cxx4
-rw-r--r--dbaccess/source/ui/dlg/adminpages.cxx2
-rw-r--r--dbaccess/source/ui/inc/TableWindow.hxx3
3 files changed, 3 insertions, 6 deletions
diff --git a/dbaccess/source/ui/control/VertSplitView.cxx b/dbaccess/source/ui/control/VertSplitView.cxx
index 9a377a503ac3..13e6905c7a6c 100644
--- a/dbaccess/source/ui/control/VertSplitView.cxx
+++ b/dbaccess/source/ui/control/VertSplitView.cxx
@@ -179,10 +179,10 @@ void OSplitterView::Resize()
if ( m_pRight )
{
if ( m_bVertical )
- m_pRight->SetPosSizePixel( aSplitPos.X() + aSplitSize.Width(), aPlaygroundPos.Y(),
+ m_pRight->setPosSizePixel( aSplitPos.X() + aSplitSize.Width(), aPlaygroundPos.Y(),
aPlaygroundSize.Width() - aSplitSize.Width() - aSplitPos.X(), aPlaygroundSize.Height());
else
- m_pRight->SetPosSizePixel( aSplitPos.X(), aPlaygroundPos.Y() + aSplitPos.Y() + aSplitSize.Height(),
+ m_pRight->setPosSizePixel( aSplitPos.X(), aPlaygroundPos.Y() + aSplitPos.Y() + aSplitSize.Height(),
aPlaygroundSize.Width() , aPlaygroundSize.Height() - aSplitSize.Height() - aSplitPos.Y());
}
diff --git a/dbaccess/source/ui/dlg/adminpages.cxx b/dbaccess/source/ui/dlg/adminpages.cxx
index 0e2d480413ac..f0e4af33ac97 100644
--- a/dbaccess/source/ui/dlg/adminpages.cxx
+++ b/dbaccess/source/ui/dlg/adminpages.cxx
@@ -328,7 +328,7 @@ namespace dbaui
const Size aMinSize( io_button.CalcMinimumSize() );
if ( aMinSize.Width() > aOldSize.Width() )
{
- io_button.SetPosSizePixel(
+ io_button.setPosSizePixel(
aOldPos.X() + aOldSize.Width() - aMinSize.Width(),
0,
aMinSize.Width(),
diff --git a/dbaccess/source/ui/inc/TableWindow.hxx b/dbaccess/source/ui/inc/TableWindow.hxx
index c51fa0226fde..ecdfcae164f2 100644
--- a/dbaccess/source/ui/inc/TableWindow.hxx
+++ b/dbaccess/source/ui/inc/TableWindow.hxx
@@ -191,9 +191,6 @@ namespace dbaui
/** clears the listbox inside. Must be called be the dtor is called.
*/
void clearListBox();
-
- protected:
- using Window::SetPosSizePixel;
};
}
#endif //DBAUI_TABLEWINDOW_HXX