summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-13 08:45:59 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-13 10:10:53 +0200
commit2bdefe6d83719015fa6d59ed2cf11747cd6e7123 (patch)
tree035efd9877f359e1092620c80de0c710adae00ca /reportdesign
parent0bb694f780a45de97f179a09ef52866164c389df (diff)
warning C4706: assignment within conditional expression
Change-Id: I4295cf0a26a79848988d93df589e6e8e7d699989
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/misc/UITools.cxx5
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&)