Kaydet (Commit) 9b7e3511 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wparentheses-equality

Change-Id: I65f41ace03071fdb420736e373684b592ddf5fab
üst 848ff96d
...@@ -2287,14 +2287,14 @@ void DomainMapper_Impl::ChainTextFrames() ...@@ -2287,14 +2287,14 @@ void DomainMapper_Impl::ChainTextFrames()
if ( nTxbxId1 == nTxbxId2 ) if ( nTxbxId1 == nTxbxId2 )
{ {
//who connects whom ?? //who connects whom ??
if ( ( nTxbxSeq1 == ( nTxbxSeq2 + 1 ) ) ) if ( nTxbxSeq1 == ( nTxbxSeq2 + 1 ) )
{ {
xPropertySet2->setPropertyValue(sChainNextName, uno::makeAny(sName1)); xPropertySet2->setPropertyValue(sChainNextName, uno::makeAny(sName1));
xPropertySet1->setPropertyValue(sChainPrevName, uno::makeAny(sName2)); xPropertySet1->setPropertyValue(sChainPrevName, uno::makeAny(sName2));
bIsTxbxChained = true ; bIsTxbxChained = true ;
break ; //there cannot be more than one previous/next frames break ; //there cannot be more than one previous/next frames
} }
else if( (nTxbxSeq2 == ( nTxbxSeq1 + 1 ) )) else if ( nTxbxSeq2 == ( nTxbxSeq1 + 1 ) )
{ {
xPropertySet1->setPropertyValue(sChainNextName, uno::makeAny(sName2)); xPropertySet1->setPropertyValue(sChainNextName, uno::makeAny(sName2));
xPropertySet2->setPropertyValue(sChainPrevName, uno::makeAny(sName1)); xPropertySet2->setPropertyValue(sChainPrevName, uno::makeAny(sName1));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment