diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/docrecovery.cxx | 9 | ||||
-rw-r--r-- | svx/source/table/cell.cxx | 2 |
2 files changed, 4 insertions, 7 deletions
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index dfe9aee667eb..f0aa24a975b6 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -451,16 +451,13 @@ ERecoveryState RecoveryCore::mapDocState2RecoverState(sal_Int32 eDocState) ) eRecState = E_RECOVERY_IS_IN_PROGRESS; // red - else - if ((eDocState & E_DAMAGED) == E_DAMAGED) + else if ((eDocState & E_DAMAGED) == E_DAMAGED) eRecState = E_RECOVERY_FAILED; // yellow - else - if ((eDocState & E_INCOMPLETE) == E_INCOMPLETE) + else if ((eDocState & E_INCOMPLETE) == E_INCOMPLETE) eRecState = E_ORIGINAL_DOCUMENT_RECOVERED; // green - else - if ((eDocState & E_SUCCEDED) == E_SUCCEDED) + else if ((eDocState & E_SUCCEDED) == E_SUCCEDED) eRecState = E_SUCCESSFULLY_RECOVERED; return eRecState; diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index e931007c20f4..93cf2f45eea7 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -1048,7 +1048,7 @@ void SAL_CALL Cell::setPropertyValue( const OUString& rPropertyName, const Any& if(!(rValue >>= nMode)) throw IllegalArgumentException(); - eMode = (BitmapMode)nMode; + eMode = (BitmapMode)nMode; } mpProperties->SetObjectItem( XFillBmpStretchItem( eMode == BitmapMode_STRETCH ) ); |