summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-01 13:19:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-03-01 14:12:27 +0000
commitb2a76e663f68a3f377630c925ba61981105b9f48 (patch)
treec0a4b0e41b57543d1467d1ca6ad0a846f4a2232c /starmath/inc
parentc2b1336b7b2fbec0172c09e247593bd43320f5fd (diff)
move SvtLinguOptions into SmDocShell
Change-Id: I46b84ab4cb9cc5d25b6cb60241fcc8a65e449886
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/document.hxx8
1 files changed, 4 insertions, 4 deletions
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 <vcl/jobset.hxx>
#include <vcl/virdev.hxx>
#include <sax/fshelper.hxx>
+#include <unotools/lingucfg.hxx>
#include <oox/core/filterbase.hxx>
#include <oox/mathml/import.hxx>
#include <oox/export/utils.hxx>
@@ -65,7 +66,6 @@ class SmCursor;
class SmDocShell;
class EditEngine;
-
class SmPrinterAccess
{
VclPtr<Printer> 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();