From 42977e3ce7a65c5714a613a4e6af9aac6029bc32 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 28 Jul 2014 12:02:38 +0200 Subject: sfx2: -Werror=parentheses Change-Id: I94973343bb3ec4a055d9a46ca7ac800dd08406ad --- sfx2/source/dialog/dinfdlg.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 8e89b02ca126..2e05124675c3 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -1123,8 +1123,8 @@ void SfxDocumentPage::Reset( const SfxItemSet* rSet ) util::DateTime uDT; OUString emptyDate = ConvertDateTime_Impl( "", uDT, rLocaleWrapper ); if ( aCmisProps[i].Id == "cmis:creationDate" && - m_pCreateValFt->GetText( ) == emptyDate || - m_pCreateValFt->GetText( ).isEmpty( ) ) + (m_pCreateValFt->GetText() == emptyDate || + m_pCreateValFt->GetText().isEmpty())) { Sequence< util::DateTime > seqValue; aCmisProps[i].Value >>= seqValue; @@ -1134,8 +1134,8 @@ void SfxDocumentPage::Reset( const SfxItemSet* rSet ) } } if ( aCmisProps[i].Id == "cmis:lastModificationDate" && - m_pChangeValFt->GetText( ) == emptyDate || - m_pChangeValFt->GetText( ).isEmpty( ) ) + (m_pChangeValFt->GetText() == emptyDate || + m_pChangeValFt->GetText().isEmpty())) { Sequence< util::DateTime > seqValue; aCmisProps[i].Value >>= seqValue; -- cgit v1.2.3