From b2a76e663f68a3f377630c925ba61981105b9f48 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 1 Mar 2017 13:19:31 +0000 Subject: move SvtLinguOptions into SmDocShell Change-Id: I46b84ab4cb9cc5d25b6cb60241fcc8a65e449886 --- starmath/inc/document.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'starmath/inc/document.hxx') diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index 756fc0f926ef..83cda04329a6 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include @@ -65,7 +66,6 @@ class SmCursor; class SmDocShell; class EditEngine; - class SmPrinterAccess { VclPtr pPrinter; @@ -77,9 +77,7 @@ public: OutputDevice* GetRefDev() { return pRefDev.get(); } }; - -void SetEditEngineDefaultFonts(SfxItemPool &rEditEngineItemPool); - +void SetEditEngineDefaultFonts(SfxItemPool &rEditEngineItemPool, const SvtLinguOptions &rOpt); class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, public SfxListener { @@ -90,6 +88,7 @@ class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, public SfxListener SmFormat maFormat; SmParser maParser; OUString maAccText; + SvtLinguOptions maLinguOptions; SmTableNode *mpTree; SfxItemPool *mpEditEngineItemPool; EditEngine *mpEditEngine; @@ -188,6 +187,7 @@ public: EditEngine & GetEditEngine(); SfxItemPool & GetEditEngineItemPool(); + const SvtLinguOptions & GetLinguOptions() const { return maLinguOptions; } void DrawFormula(OutputDevice &rDev, Point &rPosition, bool bDrawSelection = false); Size GetSize(); -- cgit