diff options
Diffstat (limited to 'dbaccess/source/ui/browser')
-rw-r--r-- | dbaccess/source/ui/browser/brwview.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/dataview.cxx | 10 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/sbagrid.cxx | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/source/ui/browser/brwview.cxx b/dbaccess/source/ui/browser/brwview.cxx index f40bcf13f009..fee1b1ab6932 100644 --- a/dbaccess/source/ui/browser/brwview.cxx +++ b/dbaccess/source/ui/browser/brwview.cxx @@ -186,7 +186,7 @@ void UnoDataBrowserView::hideStatus() Update(); } -void UnoDataBrowserView::resizeDocumentView(Rectangle& _rPlayground) +void UnoDataBrowserView::resizeDocumentView(tools::Rectangle& _rPlayground) { Point aSplitPos; Size aSplitSize; diff --git a/dbaccess/source/ui/browser/dataview.cxx b/dbaccess/source/ui/browser/dataview.cxx index 206d529d071f..e9db894c50e4 100644 --- a/dbaccess/source/ui/browser/dataview.cxx +++ b/dbaccess/source/ui/browser/dataview.cxx @@ -71,11 +71,11 @@ namespace dbaui vcl::Window::dispose(); } - void ODataView::resizeDocumentView( Rectangle& /*_rPlayground*/ ) + void ODataView::resizeDocumentView( tools::Rectangle& /*_rPlayground*/ ) { } - void ODataView::Paint(vcl::RenderContext& rRenderContext, const Rectangle& _rRect) + void ODataView::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& _rRect) { // draw the background { @@ -90,9 +90,9 @@ namespace dbaui Window::Paint(rRenderContext, _rRect); } - void ODataView::resizeAll( const Rectangle& _rPlayground ) + void ODataView::resizeAll( const tools::Rectangle& _rPlayground ) { - Rectangle aPlayground( _rPlayground ); + tools::Rectangle aPlayground( _rPlayground ); // position the separator const Size aSeparatorSize( aPlayground.GetWidth(), 2 ); @@ -106,7 +106,7 @@ namespace dbaui void ODataView::Resize() { Window::Resize(); - resizeAll( Rectangle( Point( 0, 0), GetSizePixel() ) ); + resizeAll( tools::Rectangle( Point( 0, 0), GetSizePixel() ) ); } bool ODataView::PreNotify( NotifyEvent& _rNEvt ) { diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx index 41832fcd5992..bd8dbae2c479 100644 --- a/dbaccess/source/ui/browser/sbagrid.cxx +++ b/dbaccess/source/ui/browser/sbagrid.cxx @@ -597,7 +597,7 @@ void SbaGridHeader::ImplStartColumnDrag(sal_Int8 _nAction, const Point& _rMouseP bool bResizingCol = false; if (HEADERBAR_ITEM_NOTFOUND != nId) { - Rectangle aColRect = GetItemRect(nId); + tools::Rectangle aColRect = GetItemRect(nId); aColRect.Left() += nId ? 3 : 0; // the handle col (nId == 0) does not have a left margin for resizing aColRect.Right() -= 3; bResizingCol = !aColRect.IsInside(_rMousePos); @@ -1265,7 +1265,7 @@ sal_Int8 SbaGridControl::AcceptDrop( const BrowserAcceptDropEvent& rEvt ) // no valid cell under the mouse cursor break; - Rectangle aRect = GetCellRect(nRow, nCol, false); + tools::Rectangle aRect = GetCellRect(nRow, nCol, false); if (!aRect.IsInside(rEvt.maPosPixel)) // not dropped within a cell (a cell isn't as wide as the column - the are small spaces) break; |