summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-12-18 21:23:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-12-19 08:53:21 +0000
commit8ae20343bba260073d4cee13118f507769fb0060 (patch)
treefbb71da34f408ce1a10de2e3e5ed47ef05ea892e /starmath
parentb8fa395288a1f3a24a4fca392afdf3a9b58373ea (diff)
make IOS hack a DISABLE_DYNLOADING hack and extend for basctl+starmath
Change-Id: I07057dec477051ddc96600f467ffbb0c8bd1da5f Reviewed-on: https://gerrit.libreoffice.org/32144 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/typemap.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/starmath/source/typemap.cxx b/starmath/source/typemap.cxx
index aaa5b01358b7..cfe482ec4de9 100644
--- a/starmath/source/typemap.cxx
+++ b/starmath/source/typemap.cxx
@@ -27,8 +27,16 @@
#include <svx/svxids.hrc>
#include <svl/slstitm.hxx>
+#ifdef DISABLE_DYNLOADING
+/* Avoid clash with the ones from svx/source/form/typemap.cxx */
+#define aSfxInt16Item_Impl starmath_source_appl_typemap_aSfxInt16Item_Impl
+#endif
+
#define SFX_TYPEMAP
#include "smslots.hxx"
+#ifdef DISABLE_DYNLOADING
+#undef aSfxInt16Item_Impl
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */