diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-09 12:39:04 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-09 12:39:04 +0100 |
commit | fff409cb0c31bbf50e508a3f2e15236533988216 (patch) | |
tree | 3153849b5063e85cee3becb6e2d7ae593e1653ea /sw/source/core/doc/docnew.cxx | |
parent | b1620451b7d6f2230f71c7c2f1896525b85a3dd0 (diff) |
Work around -fsanitize=null
(mpLayoutCache may be null, but that was harmless as Write was effectively static)
Change-Id: I41b10593c5ae98de92e7b305d9db75d0c4c7b334
Diffstat (limited to 'sw/source/core/doc/docnew.cxx')
-rw-r--r-- | sw/source/core/doc/docnew.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx index 0f6d0d848abe..54e486a42cd2 100644 --- a/sw/source/core/doc/docnew.cxx +++ b/sw/source/core/doc/docnew.cxx @@ -797,7 +797,7 @@ void SwDoc::ReadLayoutCache( SvStream& rStream ) void SwDoc::WriteLayoutCache( SvStream& rStream ) { - mpLayoutCache->Write( rStream, *this ); + SwLayoutCache::Write( rStream, *this ); } IGrammarContact* getGrammarContact( const SwTxtNode& rTxtNode ) |