diff options
Diffstat (limited to 'sw/source/uibase/app/docstyle.cxx')
-rw-r--r-- | sw/source/uibase/app/docstyle.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx index 11f7e957c564..33b78477fd3f 100644 --- a/sw/source/uibase/app/docstyle.cxx +++ b/sw/source/uibase/app/docstyle.cxx @@ -1949,7 +1949,7 @@ bool SwDocStyleSheet::FillStyleSheet( } else if( !bCreate ) nPoolId = SwStyleNameMapper::GetPoolIdFromUIName( aName, nsSwGetPoolIdFromName::GET_POOLID_PAGEDESC ); - SetMask( USER_FMT & nPoolId ? SFXSTYLEBIT_USERDEF : 0 ); + SetMask( (USER_FMT & nPoolId) ? SFXSTYLEBIT_USERDEF : 0 ); bRet = nullptr != pDesc || USHRT_MAX != nPoolId; if( bDeleteInfo ) @@ -1978,7 +1978,7 @@ bool SwDocStyleSheet::FillStyleSheet( } else if( !bCreate ) nPoolId = SwStyleNameMapper::GetPoolIdFromUIName( aName, nsSwGetPoolIdFromName::GET_POOLID_NUMRULE ); - SetMask( USER_FMT & nPoolId ? SFXSTYLEBIT_USERDEF : 0 ); + SetMask( (USER_FMT & nPoolId) ? SFXSTYLEBIT_USERDEF : 0 ); bRet = nullptr != pNumRule || USHRT_MAX != nPoolId; |