summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docchart.cxx
diff options
context:
space:
mode:
authorValentin Kettner <vakevk+libreoffice@gmail.com>2014-08-01 17:09:54 +0200
committerValentin Kettner <vakevk+libreoffice@gmail.com>2014-08-12 23:26:38 +0200
commit64e13a1456c44ef3461c2941bb3be15c3eaf478e (patch)
treeb08e8a7b41e6c7b51a7145b9f7502765090f74b1 /sw/source/core/doc/docchart.cxx
parent9cc617afcde381dfe0164570771ee8c255bdbfbe (diff)
Refactored IDocumentState out of SwDoc.
Into the new class DocumentStateManager. Change-Id: I91c9097b091ff6118d58fd15fff2a4cefe0171fd
Diffstat (limited to 'sw/source/core/doc/docchart.cxx')
-rw-r--r--sw/source/core/doc/docchart.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/doc/docchart.cxx b/sw/source/core/doc/docchart.cxx
index 4e294dede6f2..9d3d3db0989b 100644
--- a/sw/source/core/doc/docchart.cxx
+++ b/sw/source/core/doc/docchart.cxx
@@ -22,6 +22,7 @@
#include <vcl/window.hxx>
#include <doc.hxx>
#include <IDocumentChartDataProviderAccess.hxx>
+#include <IDocumentState.hxx>
#include <docary.hxx>
#include <ndindex.hxx>
#include <swtable.hxx>
@@ -187,7 +188,7 @@ void SwDoc::SetTableName( SwFrmFmt& rTblFmt, const OUString &rNewName )
}
aIdx.Assign( *pStNd->EndOfSectionNode(), + 1 );
}
- SetModified();
+ getIDocumentState().SetModified();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */