summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/docnew.cxx2
-rw-r--r--sw/source/core/inc/laycache.hxx2
2 files changed, 2 insertions, 2 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 )
diff --git a/sw/source/core/inc/laycache.hxx b/sw/source/core/inc/laycache.hxx
index 5871460c931b..d75e2dd7a28a 100644
--- a/sw/source/core/inc/laycache.hxx
+++ b/sw/source/core/inc/laycache.hxx
@@ -47,7 +47,7 @@ public:
~SwLayoutCache();
void Read( SvStream &rStream );
- void Write( SvStream &rStream, const SwDoc& rDoc );
+ static void Write( SvStream &rStream, const SwDoc& rDoc );
void ClearImpl();
bool IsLocked() const { return nLockCount > 0; }