size arg can be const

This commit is contained in:
Caolán McNamara 2011-09-08 22:55:57 +01:00
parent 4388c7cab4
commit 4a2402bb4e
2 changed files with 2 additions and 9 deletions

View file

@ -189,7 +189,8 @@ public:
void SetAlignment(SfxChildAlignment eAlign);
Size GetSizePixel() const
{ return pWindow->GetSizePixel(); }
void SetPosSizePixel(const Point& rPoint, Size& rSize);
void SetPosSizePixel(const Point& rPoint, const Size& rSize)
{ pWindow->SetPosSizePixel(rPoint, rSize); }
Point GetPosPixel()
{ return pWindow->GetPosPixel(); }
virtual void Hide();

View file

@ -324,14 +324,6 @@ void SfxChildWindow::SetAlignment(SfxChildAlignment eAlign)
eChildAlignment = eAlign;
}
//-------------------------------------------------------------------------
void SfxChildWindow::SetPosSizePixel(const Point& rPoint, Size& rSize)
{
DBG_CHKTHIS(SfxChildWindow,0);
pWindow->SetPosSizePixel(rPoint, rSize);
}
//-------------------------------------------------------------------------
SfxChildWinInfo SfxChildWindow::GetInfo() const
{