[Libreoffice-commits] core.git: sfx2/source
Michael Stahl
mstahl at redhat.com
Mon Jul 28 03:07:23 PDT 2014
sfx2/source/dialog/dinfdlg.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 42977e3ce7a65c5714a613a4e6af9aac6029bc32
Author: Michael Stahl <mstahl at redhat.com>
Date: Mon Jul 28 12:02:38 2014 +0200
sfx2: -Werror=parentheses
Change-Id: I94973343bb3ec4a055d9a46ca7ac800dd08406ad
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 8e89b02..2e05124 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;
More information about the Libreoffice-commits
mailing list