summaryrefslogtreecommitdiff
path: root/basic/source/runtime/stdobj1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/runtime/stdobj1.cxx')
-rw-r--r--basic/source/runtime/stdobj1.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/runtime/stdobj1.cxx b/basic/source/runtime/stdobj1.cxx
index 6b8f6a9bf7c6..50c13c703151 100644
--- a/basic/source/runtime/stdobj1.cxx
+++ b/basic/source/runtime/stdobj1.cxx
@@ -73,8 +73,7 @@ void SbStdPicture::PropType( SbxVariable* pVar, SbxArray*, sal_Bool bWrite )
if( eType == GRAPHIC_BITMAP )
nType = 1;
- else
- if( eType != GRAPHIC_NONE )
+ else if( eType != GRAPHIC_NONE )
nType = 2;
pVar->PutInteger( nType );