summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/TableConnection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableConnection.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/TableConnection.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/querydesign/TableConnection.cxx b/dbaccess/source/ui/querydesign/TableConnection.cxx
index 606e9f10ba9b..d8c9859f8d0a 100644
--- a/dbaccess/source/ui/querydesign/TableConnection.cxx
+++ b/dbaccess/source/ui/querydesign/TableConnection.cxx
@@ -157,7 +157,7 @@ namespace dbaui
void OTableConnection::InvalidateConnection()
{
- Rectangle rcBounding = GetBoundingRect();
+ tools::Rectangle rcBounding = GetBoundingRect();
rcBounding.Bottom() += 1;
rcBounding.Right() += 1;
// I believe Invalidate and Draw(Rectangle) do not behave consistent: in any case it
@@ -167,11 +167,11 @@ namespace dbaui
m_pParent->Invalidate( rcBounding, InvalidateFlags::NoChildren );
}
- Rectangle OTableConnection::GetBoundingRect() const
+ tools::Rectangle OTableConnection::GetBoundingRect() const
{
// determine all lines of the surrounding rectangle
- Rectangle aBoundingRect( Point(0,0), Point(0,0) );
- Rectangle aTempRect;
+ tools::Rectangle aBoundingRect( Point(0,0), Point(0,0) );
+ tools::Rectangle aTempRect;
std::vector<OConnectionLine*>::const_iterator aEnd = m_vConnLine.end();
for(std::vector<OConnectionLine*>::const_iterator aIter = m_vConnLine.begin();aIter != aEnd;++aIter)
{
@@ -190,7 +190,7 @@ namespace dbaui
return aBoundingRect;
}
- void OTableConnection::Draw(vcl::RenderContext& rRenderContext, const Rectangle& /*rRect*/)
+ void OTableConnection::Draw(vcl::RenderContext& rRenderContext, const tools::Rectangle& /*rRect*/)
{
// Draw line
for( const auto& pLine : m_vConnLine )