summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/unoexe/unoexe.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx
index bc35b6ef9d0f..05d37ba528aa 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -107,12 +107,9 @@ static bool readOption( OUString * pValue, const sal_Char * pOpt,
{
throw RuntimeException( "incomplete option \"-" + aOpt + "\" given!" );
}
- else
- {
- SAL_INFO("cpputools.unoexe", "> identified option -" << pOpt << " = " << aArg);
- ++(*pnIndex);
- return true;
- }
+ SAL_INFO("cpputools.unoexe", "> identified option -" << pOpt << " = " << aArg);
+ ++(*pnIndex);
+ return true;
}
else if (aArg.indexOf(aOpt) == 1)
{