diff options
author | Valentin Kettner <vakevk+libreoffice@gmail.com> | 2014-08-01 17:09:54 +0200 |
---|---|---|
committer | Valentin Kettner <vakevk+libreoffice@gmail.com> | 2014-08-12 23:26:38 +0200 |
commit | 64e13a1456c44ef3461c2941bb3be15c3eaf478e (patch) | |
tree | b08e8a7b41e6c7b51a7145b9f7502765090f74b1 /sw/source/core/doc/lineinfo.cxx | |
parent | 9cc617afcde381dfe0164570771ee8c255bdbfbe (diff) |
Refactored IDocumentState out of SwDoc.
Into the new class DocumentStateManager.
Change-Id: I91c9097b091ff6118d58fd15fff2a4cefe0171fd
Diffstat (limited to 'sw/source/core/doc/lineinfo.cxx')
-rw-r--r-- | sw/source/core/doc/lineinfo.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/doc/lineinfo.cxx b/sw/source/core/doc/lineinfo.cxx index 1d69209746b7..d05db20cfba8 100644 --- a/sw/source/core/doc/lineinfo.cxx +++ b/sw/source/core/doc/lineinfo.cxx @@ -18,6 +18,7 @@ */ #include "doc.hxx" +#include <IDocumentState.hxx> #include "lineinfo.hxx" #include "charfmt.hxx" #include "poolfmt.hxx" @@ -41,7 +42,7 @@ void SwDoc::SetLineNumberInfo( const SwLineNumberInfo &rNew ) pTmpRoot->EndAllAction(); } *mpLineNumberInfo = rNew; - SetModified(); + getIDocumentState().SetModified(); } const SwLineNumberInfo& SwDoc::GetLineNumberInfo() const |