diff options
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 33ea85a384d4..4fb8e6c52f6e 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -1691,10 +1691,10 @@ void WinSalFrame::GetWorkArea( Rectangle &rRect ) { RECT aRect; ImplSalGetWorkArea( mhWnd, &aRect, NULL ); - rRect.nLeft = aRect.left; - rRect.nRight = aRect.right-1; - rRect.nTop = aRect.top; - rRect.nBottom = aRect.bottom-1; + rRect.Left() = aRect.left; + rRect.Right() = aRect.right-1; + rRect.Top() = aRect.top; + rRect.Bottom() = aRect.bottom-1; } // ----------------------------------------------------------------------- |