diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-20 10:34:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-21 08:32:47 +0200 |
commit | 5abc669599001bf888b97c4d3c2715e1fb7523b9 (patch) | |
tree | 2407c6fc040a795e6ffc69de02ba940285c04c7f /svtools | |
parent | 5bb308a9ad16f6002486a60e4a753693818580b6 (diff) |
new plugin stylepolice
check for local variables which follow our member field naming
convention, which is highly confusing
Change-Id: Idacedf7145d09843e96a584237b385f7662eea10
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/headbar.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/control/headbar.cxx b/svtools/source/control/headbar.cxx index 5e31f3792a6e..caa6bb030584 100644 --- a/svtools/source/control/headbar.cxx +++ b/svtools/source/control/headbar.cxx @@ -1400,10 +1400,10 @@ css::uno::Reference< css::awt::XWindowPeer > HeaderBar::GetComponentInterface( b (Window::GetComponentInterface(false)); if ( !xPeer.is() && bCreate ) { - css::awt::XWindowPeer* mxPeer = new VCLXHeaderBar(this); - m_pVCLXHeaderBar = static_cast<VCLXHeaderBar*>(mxPeer); - SetComponentInterface(mxPeer); - return mxPeer; + css::awt::XWindowPeer* pPeer = new VCLXHeaderBar(this); + m_pVCLXHeaderBar = static_cast<VCLXHeaderBar*>(pPeer); + SetComponentInterface(pPeer); + return pPeer; } else return xPeer; |