summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/filter/ww8/ww8par5.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index 5e8bccc32dba..957006cec5cb 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -895,7 +895,7 @@ long SwWW8ImplReader::Read_Field(WW8PLCFManResult* pRes)
return aF.nLen;
bool bHasHandler = aWW8FieldTab[aF.nId] != nullptr;
- if (aF.nId == ww::eSTYLEREF)
+ if (aF.nId == 10) // STYLEREF
{
// STYLEREF, by default these are not handled.
bHasHandler = false;