diff options
Diffstat (limited to 'sw/source/core/uibase/app/docstyle.cxx')
-rw-r--r-- | sw/source/core/uibase/app/docstyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/uibase/app/docstyle.cxx b/sw/source/core/uibase/app/docstyle.cxx index 55db367c9ff6..500bc5954cfa 100644 --- a/sw/source/core/uibase/app/docstyle.cxx +++ b/sw/source/core/uibase/app/docstyle.cxx @@ -1972,7 +1972,7 @@ bool SwDocStyleSheet::IsUsed() const case SFX_STYLE_FAMILY_PAGE : pMod = pDesc; break; case SFX_STYLE_FAMILY_PSEUDO: - return pNumRule ? rDoc.IsUsed( *pNumRule ) : false; + return pNumRule && rDoc.IsUsed( *pNumRule ); default: OSL_ENSURE(!this, "unknown style family"); |