diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-10-12 21:36:52 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-10-21 15:59:54 +0200 |
commit | c7bcf51d3efe30047667fe026cbcd3cb87bdece3 (patch) | |
tree | ea8283994e388b7211c64c0bb59e23868f1b8a74 /sw/inc/doc.hxx | |
parent | d4c4e3053ce59dba96d7531fc4c1828c1366f419 (diff) |
sw: combine IGrammarContact and SwGrammarContact
Change-Id: I4b9ab45ff8e21fa5091894f2cd5e3c7de57df425
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141431
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r-- | sw/inc/doc.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index f3662cb02b17..62785cb8bce8 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -112,7 +112,6 @@ struct SwSortOptions; struct SwDefTOXBase_Impl; class SwPrintUIOptions; struct SwConversionArgs; -class IGrammarContact; class SwRenderData; class IDocumentUndoRedo; class IDocumentSettingAccess; @@ -162,6 +161,7 @@ namespace sw { class DocumentLayoutManager; class DocumentStylePoolManager; class DocumentExternalDataManager; + class GrammarContact; } namespace com::sun::star { @@ -282,7 +282,7 @@ class SW_DLLPUBLIC SwDoc final std::unique_ptr<SwLayoutCache> mpLayoutCache; /**< Layout cache to read and save with the document for a faster formatting */ - std::unique_ptr<IGrammarContact> mpGrammarContact; //< for grammar checking in paragraphs during editing + std::unique_ptr<sw::GrammarContact> mpGrammarContact; //< for grammar checking in paragraphs during editing css::uno::Reference< css::script::vba::XVBAEventProcessor > mxVbaEvents; css::uno::Reference< ooo::vba::word::XFind > mxVbaFind; @@ -1559,7 +1559,7 @@ public: */ bool ContainsHiddenChars() const; - IGrammarContact* getGrammarContact() const { return mpGrammarContact.get(); } + std::unique_ptr<sw::GrammarContact> const& getGrammarContact() const { return mpGrammarContact; } /** Marks/Unmarks a list level of a certain list |