summaryrefslogtreecommitdiff
path: root/starmath/inc/document.hxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-01-12 00:45:17 +0900
committerMichael Stahl <mstahl@redhat.com>2015-01-13 12:12:13 +0000
commit9b87116fa4c5873fa719468f775589edd6c8613c (patch)
treec495ae1adf2f009ee065b5c7c0f5466e1c9dc104 /starmath/inc/document.hxx
parent5e4a7a95027d979b3bdd729d7ebe950da1129b2b (diff)
fdo#70185: starmath: unit test writing
This adds a unit test of importing a simple MathML file. New smdllapi.hxx defines a macro SM_DLLPUBLIC to turn on visibility of symbols required from a CppunitTest. Change-Id: I4f72d7d8f2766751580e5bde7dac4870e8dad62a Reviewed-on: https://gerrit.libreoffice.org/13861 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'starmath/inc/document.hxx')
-rw-r--r--starmath/inc/document.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index e71a2f990308..792bbb68b4f1 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -37,6 +37,7 @@
#include "format.hxx"
#include "parse.hxx"
#include "smmod.hxx"
+#include "smdllapi.hxx"
class SmNode;
class SfxMenuBarManager;
@@ -84,7 +85,7 @@ void SetEditEngineDefaultFonts(SfxItemPool &rEditEngineItemPool);
-class SmDocShell : public SfxObjectShell, public SfxListener
+class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, public SfxListener
{
friend class SmPrinterAccess;
friend class SmModel;