diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 11:17:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 16:29:15 +0100 |
commit | daa6898578ec72faa406bfe08977f7d748610716 (patch) | |
tree | e75b8a538e8fe94882e84e87131d53840ecf7cc6 /vcl/source/control | |
parent | 4079089d0a3cf6b55c937447407f68b7339bca68 (diff) |
clang: Dead initialization
Change-Id: Ieae5303e55f21044ef8e91e63c4896696cfad51c
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/edit.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 37f65027f961..2e9726069366 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -1018,12 +1018,11 @@ void Edit::ImplPaintBorder( long nXStart, long nXEnd ) if( ImplUseNativeBorder( GetStyle() ) || IsPaintTransparent() ) { // draw the inner part by painting the whole control using its border window - Window *pControl = this; Window *pBorder = GetWindow( WINDOW_BORDER ); if( pBorder == this ) { // we have no border, use parent - pControl = mbIsSubEdit ? GetParent() : this; + Window *pControl = mbIsSubEdit ? GetParent() : this; pBorder = pControl->GetWindow( WINDOW_BORDER ); if( pBorder == this ) pBorder = GetParent(); |