diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-05-08 20:17:02 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-05-08 20:17:22 +0200 |
commit | 5630b301689f2ccb459b42c4503b95bc61891dce (patch) | |
tree | 94b856bb81301da734047d22ab32769ad9c91ff2 /svtools | |
parent | No need for RTLD_NOW here (diff) | |
download | core-5630b301689f2ccb459b42c4503b95bc61891dce.tar.gz core-5630b301689f2ccb459b42c4503b95bc61891dce.zip |
cppcheck: variables reassigned before using old value
Change-Id: I5108253859eac682ab423843f8812c8c8c6ce9fa
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/brwbox/datwin.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx index 2f2543c9ef30..29ae1b53c574 100644 --- a/svtools/source/brwbox/datwin.cxx +++ b/svtools/source/brwbox/datwin.cxx @@ -365,8 +365,7 @@ BrowseEvent BrowserDataWin::CreateBrowseEvent( const Point& rPosPixel ) sal_Int8 BrowserDataWin::AcceptDrop( const AcceptDropEvent& _rEvt ) { bCallingDropCallback = sal_True; - sal_Int8 nReturn = DND_ACTION_NONE; - nReturn = GetParent()->AcceptDrop( BrowserAcceptDropEvent( this, _rEvt ) ); + sal_Int8 nReturn = GetParent()->AcceptDrop( BrowserAcceptDropEvent( this, _rEvt ) ); bCallingDropCallback = sal_False; return nReturn; } @@ -375,8 +374,7 @@ sal_Int8 BrowserDataWin::AcceptDrop( const AcceptDropEvent& _rEvt ) sal_Int8 BrowserDataWin::ExecuteDrop( const ExecuteDropEvent& _rEvt ) { bCallingDropCallback = sal_True; - sal_Int8 nReturn = DND_ACTION_NONE; - nReturn = GetParent()->ExecuteDrop( BrowserExecuteDropEvent( this, _rEvt ) ); + sal_Int8 nReturn = GetParent()->ExecuteDrop( BrowserExecuteDropEvent( this, _rEvt ) ); bCallingDropCallback = sal_False; return nReturn; } |