Kaydet (Commit) 7f561b9d authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud Kaydeden (comit) Tor Lillqvist

coverity#735398 Logically dead code

Change-Id: Iadb7fbd8a1fb1c535a3ed78d4b2f7120b29aeb75
Reviewed-on: https://gerrit.libreoffice.org/2270Reviewed-by: 's avatarTor Lillqvist <tml@iki.fi>
Tested-by: 's avatarTor Lillqvist <tml@iki.fi>
üst bbfc250a
...@@ -233,8 +233,8 @@ void SbiCodeGen::Save() ...@@ -233,8 +233,8 @@ void SbiCodeGen::Save()
case PROPERTY_MODE_SET: case PROPERTY_MODE_SET:
ePropType = SbxOBJECT; ePropType = SbxOBJECT;
break; break;
case PROPERTY_MODE_NONE: default:
OSL_FAIL( "Illegal PropertyMode PROPERTY_MODE_NONE" ); OSL_FAIL("Illegal PropertyMode");
break; break;
} }
OUString aPropName = pProc->GetPropName(); OUString aPropName = pProc->GetPropName();
...@@ -295,7 +295,7 @@ void SbiCodeGen::Save() ...@@ -295,7 +295,7 @@ void SbiCodeGen::Save()
t = (SbxDataType) ( t | SbxARRAY ); t = (SbxDataType) ( t | SbxARRAY );
} }
// #33677 hand-over an Optional-Info // #33677 hand-over an Optional-Info
sal_uInt16 nFlags = SBX_READ; sal_uInt16 nFlags = SBX_READ;
if( pPar->IsOptional() ) if( pPar->IsOptional() )
{ {
nFlags |= SBX_OPTIONAL; nFlags |= SBX_OPTIONAL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment