summaryrefslogtreecommitdiff
path: root/sw/source/core/para/paratr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/para/paratr.cxx')
-rw-r--r--sw/source/core/para/paratr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/para/paratr.cxx b/sw/source/core/para/paratr.cxx
index 8fc36009722b..bdc07540105f 100644
--- a/sw/source/core/para/paratr.cxx
+++ b/sw/source/core/para/paratr.cxx
@@ -77,7 +77,7 @@ SwFormatDrop::~SwFormatDrop()
void SwFormatDrop::SetCharFormat( SwCharFormat *pNew )
{
- assert(!pNew->IsDefault()); // expose cases that lead to use-after-free
+ assert(!pNew || !pNew->IsDefault()); // expose cases that lead to use-after-free
// Rewire
if ( GetRegisteredIn() )
GetRegisteredInNonConst()->Remove( this );