diff options
Diffstat (limited to 'editeng/source/items')
-rw-r--r-- | editeng/source/items/flditem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx index a49f7c4489a7..121dcf8625b0 100644 --- a/editeng/source/items/flditem.cxx +++ b/editeng/source/items/flditem.cxx @@ -185,7 +185,7 @@ SvxFieldData* SvxFieldData::Create(const uno::Reference<text::XTextContent>& xTe { pData->SetFormat(SVXAUTHORFORMAT_SHORTNAME); } - else if (nFmt >= SVXAUTHORFORMAT_FULLNAME || nFmt <= SVXAUTHORFORMAT_SHORTNAME) + else if (nFmt >= SVXAUTHORFORMAT_FULLNAME && nFmt <= SVXAUTHORFORMAT_SHORTNAME) { pData->SetFormat(static_cast<SvxAuthorFormat>(nFmt)); } |