summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/trvlfrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/trvlfrm.cxx')
-rw-r--r--sw/source/core/layout/trvlfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index 1e31b45dcb45..a7b786d5e8ef 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -81,7 +81,7 @@ namespace {
const SwFlyFrm* pFly = pObj ? pObj->GetFlyFrm() : 0;
if ( pFly && bBackgroundMatches &&
- ( ( pCMS ? pCMS->bSetInReadOnly : false ) ||
+ ( ( pCMS && pCMS->bSetInReadOnly ) ||
!pFly->IsProtected() ) &&
pFly->GetCrsrOfst( pPos, aPoint, pCMS ) )
{