summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8atr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8atr.cxx')
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index 9a51005d08b7..9448cca6b6e8 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -2629,7 +2629,7 @@ void AttributeOutputBase::TextField( const SwFmtFld& rField )
case RES_AUTHORFLD:
{
ww::eField eFld =
- (AF_SHORTCUT & nSubType ? ww::eUSERINITIALS : ww::eUSERNAME);
+ (AF_SHORTCUT & pFld->GetFormat() ? ww::eUSERINITIALS : ww::eUSERNAME);
GetExport().OutputField(pFld, eFld, FieldString(eFld));
}
break;