size arg can be const
This commit is contained in:
parent
4388c7cab4
commit
4a2402bb4e
2 changed files with 2 additions and 9 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue