diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-15 20:39:06 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-16 21:57:15 +0900 |
commit | 264fb9f16336e2cfd8f937b630fc167faab0aae3 (patch) | |
tree | 95e716df471a385572d6a52570aa82cfc6d646c6 /dbaccess/source/ui/querydesign/TableConnection.cxx | |
parent | a76dcdfaa6c6d2b1d73fb1c96fe38dd7e452f48a (diff) |
refactor dbacess classes to use RenderContext
Change-Id: I60e436ec1e6974e5fb8c6525552c6e172ceca0ca
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableConnection.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/TableConnection.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/TableConnection.cxx b/dbaccess/source/ui/querydesign/TableConnection.cxx index b0967c4cfbaa..ec91c07646fd 100644 --- a/dbaccess/source/ui/querydesign/TableConnection.cxx +++ b/dbaccess/source/ui/querydesign/TableConnection.cxx @@ -193,10 +193,10 @@ namespace dbaui return aBoundingRect; } - void OTableConnection::Draw( const Rectangle& /*rRect*/ ) + void OTableConnection::Draw(vcl::RenderContext& rRenderContext, const Rectangle& /*rRect*/) { // Draw line - ::std::for_each(m_vConnLine.begin(),m_vConnLine.end(),TConnectionLineDrawFunctor(m_pParent)); + std::for_each(m_vConnLine.begin(), m_vConnLine.end(), TConnectionLineDrawFunctor(&rRenderContext)); } } |