diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 20:21:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 11:29:16 +0000 |
commit | c051007c1b744ab072547107a7820551f992ad18 (patch) | |
tree | 27edc92b481133c1e38fa0d9bc1ad81cbf1da2e1 /sfx2/source/control | |
parent | f5bcc7d91ca2b1bcd636a9d07b2c888f65469c2f (diff) |
coverity#440882 Logically dead code
Change-Id: Ia54cffe6368d320c717b941b4f3df036f924c343
Diffstat (limited to 'sfx2/source/control')
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index beb36f7a7e21..1fbcba92ef80 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -521,7 +521,7 @@ void SfxDispatchController_Impl::addParametersToArgs( const com::sun::star::util { nParmIndex = 0; aToken = aParamName; - aParamName = (nParmIndex!=-1) ? aToken.getToken( 0, ':', nParmIndex ) : OUString(); + aParamName = aToken.getToken( 0, ':', nParmIndex ); aParamType = (nParmIndex!=-1) ? aToken.getToken( 0, ':', nParmIndex ) : OUString(); } |