Kaydet (Commit) 42977e3c authored tarafından Michael Stahl's avatar Michael Stahl

sfx2: -Werror=parentheses

Change-Id: I94973343bb3ec4a055d9a46ca7ac800dd08406ad
üst a227c575
......@@ -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;
......
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