diff options
-rw-r--r-- | basic/source/comp/codegen.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/comp/codegen.cxx b/basic/source/comp/codegen.cxx index 77542dd58ae9..c17ecbb6648b 100644 --- a/basic/source/comp/codegen.cxx +++ b/basic/source/comp/codegen.cxx @@ -233,8 +233,8 @@ void SbiCodeGen::Save() case PROPERTY_MODE_SET: ePropType = SbxOBJECT; break; - case PROPERTY_MODE_NONE: - OSL_FAIL( "Illegal PropertyMode PROPERTY_MODE_NONE" ); + default: + OSL_FAIL("Illegal PropertyMode"); break; } OUString aPropName = pProc->GetPropName(); @@ -295,7 +295,7 @@ void SbiCodeGen::Save() t = (SbxDataType) ( t | SbxARRAY ); } // #33677 hand-over an Optional-Info - sal_uInt16 nFlags = SBX_READ; + sal_uInt16 nFlags = SBX_READ; if( pPar->IsOptional() ) { nFlags |= SBX_OPTIONAL; |