diff options
Diffstat (limited to 'sw/source/core/para/paratr.cxx')
-rw-r--r-- | sw/source/core/para/paratr.cxx | 2 |
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 ); |