diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-11 20:35:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-12 00:31:34 +0000 |
commit | eb9a7ffbefba46db4bc4e054c82151d5265bdaa5 (patch) | |
tree | 35bf71e38fdc1fc538e5ff9befeca22b9a44aaee /sw | |
parent | cbfcdc4d120c160457b6353461387258daa35453 (diff) |
OSL_ENSURE followed by unconditional dereference -> assert
Change-Id: Ife08acfd0defbed7f09a3b8dce089f61b0d7e11c
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/laycache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx index 43cabb8e7188..7124158e58f0 100644 --- a/sw/source/core/layout/laycache.cxx +++ b/sw/source/core/layout/laycache.cxx @@ -220,7 +220,7 @@ void SwLayoutCache::Write( SvStream &rStream, const SwDoc& rDoc ) pSub = pSub->GetNext(); } pTab = pTab->GetFollow(); - OSL_ENSURE( pTab, "Table follow without master" ); + assert(pTab && "Table follow without master"); } } do |