From 2bdefe6d83719015fa6d59ed2cf11747cd6e7123 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Wed, 13 Aug 2014 08:45:59 +0200 Subject: warning C4706: assignment within conditional expression Change-Id: I4295cf0a26a79848988d93df589e6e8e7d699989 --- reportdesign/source/ui/misc/UITools.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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& _xShape,const uno::R SAL_WNODEPRECATED_DECLARATIONS_PUSH ::std::auto_ptr 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&) -- cgit