From f634ec520fa9e8c3e7b1f0660c7a6561bdff2aaa Mon Sep 17 00:00:00 2001 From: Valentin Kettner Date: Mon, 7 Jul 2014 14:32:02 +0200 Subject: Refactored IDocumentContentOperations out of SwDoc. Into the new class DocumentContentOperationsManager. Made SwNodes in sw/inc/ndarr.hxx friend class to DocumentContentOperationsManager so it can call DelNodes at end of DocumentContentOperationsManager::DeleteSection . Added DeleteAutoCorrExceptWord to SwDoc, its needed in the Manager. Added a non const version of SwDoc::GetDfltGrfFmtColl() to SwDoc because its needed in the Manager. Made SwDoc a friend class to DocumentContentOperationsManager so it can call SwDoc::checkRedlining and SwDocL::_MakeFlySection. Moved SwDoc::CopyImpl_ , SwDoc::CopyWithFlyInFly and SwDoc::CopyFlyInFlyImpl into the Manager. Moved "struct ParaRstFmt" and "lcl_RstTxtAttr" from docfmt.cxx in DocumentContentOperationsManager.hxx . Change-Id: Icaab57f4a8c158a85e549ecb4aacc752bc95bbc9 --- sw/inc/IDocumentContentOperations.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sw/inc/IDocumentContentOperations.hxx') diff --git a/sw/inc/IDocumentContentOperations.hxx b/sw/inc/IDocumentContentOperations.hxx index 57684605854a..522752817080 100644 --- a/sw/inc/IDocumentContentOperations.hxx +++ b/sw/inc/IDocumentContentOperations.hxx @@ -21,6 +21,8 @@ #define INCLUDED_SW_INC_IDOCUMENTCONTENTOPERATIONS_HXX #include +#include +using rtl::OUString; class SwPaM; struct SwPosition; -- cgit