diff options
Diffstat (limited to 'unodevtools/source/unodevtools/options.cxx')
-rw-r--r-- | unodevtools/source/unodevtools/options.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/unodevtools/source/unodevtools/options.cxx b/unodevtools/source/unodevtools/options.cxx index 8156660ef735..b0b1071e209f 100644 --- a/unodevtools/source/unodevtools/options.cxx +++ b/unodevtools/source/unodevtools/options.cxx @@ -49,11 +49,10 @@ bool readOption( OUString * pValue, const sal_Char * pOpt, { throw CannotDumpException( "incomplete option \"-" + aOpt + "\" given!"); - } else { - SAL_INFO("unodevtools", "identified option -" << pOpt << " = " << *pValue); - ++(*pnIndex); - return true; } + SAL_INFO("unodevtools", "identified option -" << pOpt << " = " << *pValue); + ++(*pnIndex); + return true; } else if (aArg.indexOf(aOpt) == 1) { *pValue = aArg.copy(1 + aOpt.getLength()); SAL_INFO("unodevtools", "identified option -" << pOpt << " = " << *pValue); |