summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/dinfdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/dinfdlg.cxx')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx8
1 files 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;