Kaydet (Commit) 4a2402bb authored tarafından Caolán McNamara's avatar Caolán McNamara

size arg can be const

üst 4388c7ca
......@@ -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();
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment