diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-13 08:45:59 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-13 10:10:53 +0200 |
commit | 2bdefe6d83719015fa6d59ed2cf11747cd6e7123 (patch) | |
tree | 035efd9877f359e1092620c80de0c710adae00ca /reportdesign | |
parent | 0bb694f780a45de97f179a09ef52866164c389df (diff) |
warning C4706: assignment within conditional expression
Change-Id: I4295cf0a26a79848988d93df589e6e8e7d699989
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/misc/UITools.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx index 134de05e92b0..5e6c5888c56c 100644 --- a/reportdesign/source/ui/misc/UITools.cxx +++ b/reportdesign/source/ui/misc/UITools.cxx @@ -768,8 +768,11 @@ bool openAreaDialog( const uno::Reference<report::XShape >& _xShape,const uno::R SAL_WNODEPRECATED_DECLARATIONS_PUSH ::std::auto_ptr<AbstractSvxAreaTabDialog> pDialog(pFact->CreateSvxAreaTabDialog( pParent,pDescriptor.get(),pModel.get(), true )); SAL_WNODEPRECATED_DECLARATIONS_POP - if ( ( bSuccess = ( RET_OK == pDialog->Execute() ) ) ) + if ( RET_OK == pDialog->Execute() ) + { + bSuccess = true; lcl_fillItemsToShape(_xShape,*pDialog->GetOutputItemSet()); + } } } catch(uno::Exception&) |