summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-09-18 20:26:44 +0300
committerTor Lillqvist <tml@iki.fi>2012-10-11 10:07:04 +0300
commit3851616b3fcfd8dc7043908e650e881c367d064b (patch)
treed3a349d2723da13b5b60e41ce9ba2f7a20803c95
parent97f27e2cdadb28dc249806effd33c58811a0ebc2 (diff)
More clash avoidance for DISABLE_DYNLOADING in general, not just iOS
Change-Id: I1995d68a654a7eb56a46241ffa8946ce1e52761a
-rw-r--r--sc/source/ui/app/typemap.cxx110
-rw-r--r--sfx2/source/appl/appbas.cxx10
2 files changed, 114 insertions, 6 deletions
diff --git a/sc/source/ui/app/typemap.cxx b/sc/source/ui/app/typemap.cxx
index 338fe7fbc323..e894110daeae 100644
--- a/sc/source/ui/app/typemap.cxx
+++ b/sc/source/ui/app/typemap.cxx
@@ -97,52 +97,158 @@
#define SvxChooseControlItem SfxEnumItem
#define avmedia_MediaItem ::avmedia::MediaItem
-#if defined(IOS)
+#ifdef DISABLE_DYNLOADING
/* Avoid clash with the ones from svx/source/form/typemap.cxx */
#define aSfxBoolItem_Impl sc_source_ui_appl_typemap_aSfxBoolItem_Impl
+#define aSfxByteItem_Impl sc_source_ui_appl_typemap_aSfxByteItem_Impl
+#define aSfxGlobalNameItem_Impl sc_source_ui_appl_typemap_aSfxGlobalNameItem_Impl
+#define aSfxInt16Item_Impl sc_source_ui_appl_typemap_aSfxInt16Item_Impl
#define aSfxInt32Item_Impl sc_source_ui_appl_typemap_aSfxInt32Item_Impl
#define aSfxObjectItem_Impl sc_source_ui_appl_typemap_aSfxObjectItem_Impl
+#define aSfxPointItem_Impl sc_source_ui_appl_typemap_aSfxPointItem_Impl
#define aSfxStringItem_Impl sc_source_ui_appl_typemap_aSfxStringItem_Impl
+#define aSfxStringListItem_Impl sc_source_ui_appl_typemap_aSfxStringListItem_Impl
+#define aSfxTemplateItem_Impl sc_source_ui_appl_typemap_aSfxTemplateItem_Impl
#define aSfxUInt16Item_Impl sc_source_ui_appl_typemap_aSfxUInt16Item_Impl
#define aSfxUInt32Item_Impl sc_source_ui_appl_typemap_aSfxUInt32Item_Impl
#define aSfxVoidItem_Impl sc_source_ui_appl_typemap_aSfxVoidItem_Impl
+#define aSvxBitmapListItem_Impl sc_source_ui_appl_typemap_aSvxBitmapListItem_Impl
+#define aSvxBoxInfoItem_Impl sc_source_ui_appl_typemap_aSvxBoxInfoItem_Impl
+#define aSvxBoxItem_Impl sc_source_ui_appl_typemap_aSvxBoxItem_Impl
+#define aSvxBrushItem_Impl sc_source_ui_appl_typemap_aSvxBrushItem_Impl
#define aSvxCharReliefItem_Impl sc_source_ui_appl_typemap_aSvxCharReliefItem_Impl
#define aSvxClipboardFmtItem_Impl sc_source_ui_appl_typemap_aSvxClipboardFmtItem_Impl
#define aSvxColorItem_Impl sc_source_ui_appl_typemap_aSvxColorItem_Impl
+#define aSvxColorListItem_Impl sc_source_ui_appl_typemap_aSvxColorListItem_Impl
#define aSvxContourItem_Impl sc_source_ui_appl_typemap_aSvxContourItem_Impl
#define aSvxCrossedOutItem_Impl sc_source_ui_appl_typemap_aSvxCrossedOutItem_Impl
+#define aSvxDashListItem_Impl sc_source_ui_appl_typemap_aSvxDashListItem_Impl
+#define aSvxDoubleItem_Impl sc_source_ui_appl_typemap_aSvxDoubleItem_Impl
+#define aSvxDrawAlignItem_Impl sc_source_ui_appl_typemap_aSvxDrawAlignItem_Impl
+#define aSvxDrawToolItem_Impl sc_source_ui_appl_typemap_aSvxDrawToolItem_Impl
#define aSvxFontHeightItem_Impl sc_source_ui_appl_typemap_aSvxFontHeightItem_Impl
#define aSvxFontItem_Impl sc_source_ui_appl_typemap_aSvxFontItem_Impl
+#define aSvxGradientListItem_Impl sc_source_ui_appl_typemap_aSvxGradientListItem_Impl
+#define aSvxHatchListItem_Impl sc_source_ui_appl_typemap_aSvxHatchListItem_Impl
+#define aSvxHyperlinkItem_Impl sc_source_ui_appl_typemap_aSvxHyperlinkItem_Impl
#define aSvxLanguageItem_Impl sc_source_ui_appl_typemap_aSvxLanguageItem_Impl
+#define aSvxLineEndListItem_Impl sc_source_ui_appl_typemap_aSvxLineEndListItem_Impl
+#define aSvxLineItem_Impl sc_source_ui_appl_typemap_aSvxLineItem_Impl
+#define aSvxPostItAuthorItem_Impl sc_source_ui_appl_typemap_aSvxPostItAuthorItem_Impl
+#define aSvxPostItDateItem_Impl sc_source_ui_appl_typemap_aSvxPostItDateItem_Impl
+#define aSvxPostItTextItem_Impl sc_source_ui_appl_typemap_aSvxPostItTextItem_Impl
#define aSvxPostureItem_Impl sc_source_ui_appl_typemap_aSvxPostureItem_Impl
+#define aSvxSearchItem_Impl sc_source_ui_appl_typemap_aSvxSearchItem_Impl
+#define aSvxShadowItem_Impl sc_source_ui_appl_typemap_aSvxShadowItem_Impl
#define aSvxShadowedItem_Impl sc_source_ui_appl_typemap_aSvxShadowedItem_Impl
+#define aSvxSizeItem_Impl sc_source_ui_appl_typemap_aSvxSizeItem_Impl
#define aSvxTextLineItem_Impl sc_source_ui_appl_typemap_aSvxTextLineItem_Impl
#define aSvxWeightItem_Impl sc_source_ui_appl_typemap_aSvxWeightItem_Impl
+#define aSvxZoomItem_Impl sc_source_ui_appl_typemap_aSvxZoomItem_Impl
+#define aSvxZoomSliderItem_Impl sc_source_ui_appl_typemap_aSvxZoomSliderItem_Impl
+#define aTbxImageItem_Impl sc_source_ui_appl_typemap_aTbxImageItem_Impl
+#define aXFillBitmapItem_Impl sc_source_ui_appl_typemap_aXFillBitmapItem_Impl
+#define aXFillColorItem_Impl sc_source_ui_appl_typemap_aXFillColorItem_Impl
+#define aXFillGradientItem_Impl sc_source_ui_appl_typemap_aXFillGradientItem_Impl
+#define aXFillHatchItem_Impl sc_source_ui_appl_typemap_aXFillHatchItem_Impl
+#define aXFillStyleItem_Impl sc_source_ui_appl_typemap_aXFillStyleItem_Impl
+#define aXFormTextAdjustItem_Impl sc_source_ui_appl_typemap_aXFormTextAdjustItem_Impl
+#define aXFormTextDistanceItem_Impl sc_source_ui_appl_typemap_aXFormTextDistanceItem_Impl
+#define aXFormTextHideFormItem_Impl sc_source_ui_appl_typemap_aXFormTextHideFormItem_Impl
+#define aXFormTextMirrorItem_Impl sc_source_ui_appl_typemap_aXFormTextMirrorItem_Impl
+#define aXFormTextOutlineItem_Impl sc_source_ui_appl_typemap_aXFormTextOutlineItem_Impl
+#define aXFormTextShadowColorItem_Impl sc_source_ui_appl_typemap_aXFormTextShadowColorItem_Impl
+#define aXFormTextShadowItem_Impl sc_source_ui_appl_typemap_aXFormTextShadowItem_Impl
+#define aXFormTextShadowXValItem_Impl sc_source_ui_appl_typemap_aXFormTextShadowXValItem_Impl
+#define aXFormTextShadowYValItem_Impl sc_source_ui_appl_typemap_aXFormTextShadowYValItem_Impl
+#define aXFormTextStartItem_Impl sc_source_ui_appl_typemap_aXFormTextStartItem_Impl
+#define aXFormTextStdFormItem_Impl sc_source_ui_appl_typemap_aXFormTextStdFormItem_Impl
+#define aXFormTextStyleItem_Impl sc_source_ui_appl_typemap_aXFormTextStyleItem_Impl
+#define aXLineColorItem_Impl sc_source_ui_appl_typemap_aXLineColorItem_Impl
+#define aXLineDashItem_Impl sc_source_ui_appl_typemap_aXLineDashItem_Impl
+#define aXLineEndItem_Impl sc_source_ui_appl_typemap_aXLineEndItem_Impl
+#define aXLineStartItem_Impl sc_source_ui_appl_typemap_aXLineStartItem_Impl
+#define aXLineStyleItem_Impl sc_source_ui_appl_typemap_aXLineStyleItem_Impl
+#define aXLineWidthItem_Impl sc_source_ui_appl_typemap_aXLineWidthItem_Impl
+#define aavmedia_MediaItem_Impl sc_source_ui_appl_typemap_aavmedia_MediaItem_Impl
#endif
#define SFX_TYPEMAP
#include "scslots.hxx"
-#if defined(IOS)
+#ifdef DISABLE_DYNLOADING
#undef aSfxBoolItem_Impl
+#undef aSfxByteItem_Impl
+#undef aSfxGlobalNameItem_Impl
+#undef aSfxInt16Item_Impl
#undef aSfxInt32Item_Impl
#undef aSfxObjectItem_Impl
+#undef aSfxPointItem_Impl
#undef aSfxStringItem_Impl
+#undef aSfxStringListItem_Impl
+#undef aSfxTemplateItem_Impl
#undef aSfxUInt16Item_Impl
#undef aSfxUInt32Item_Impl
#undef aSfxVoidItem_Impl
+#undef aSvxBitmapListItem_Impl
+#undef aSvxBoxInfoItem_Impl
+#undef aSvxBox_Impl
+#undef aSvxBrushItem_Impl
#undef aSvxCharReliefItem_Impl
#undef aSvxClipboardFmtItem_Impl
#undef aSvxColorItem_Impl
+#undef aSvxColorListItem_Impl
#undef aSvxContourItem_Impl
#undef aSvxCrossedOutItem_Impl
+#undef aSvxDashListItem_Impl
+#undef aSvxDoubleItem_Impl
+#undef aSvxDrawAlignItem_Impl
+#undef aSvxDrawToolItem_Impl
#undef aSvxFontHeightItem_Impl
#undef aSvxFontItem_Impl
+#undef aSvxGradientListItem_Impl
+#undef aSvxHatchListItem_Impl
+#undef aSvxHyperlinkItem_Impl
#undef aSvxLanguageItem_Impl
+#undef aSvxLineEndListItem_Impl
+#undef aSvxLineItem_Impl
+#undef aSvxPostItAuthorItem_Impl
+#undef aSvxPostItDateItem_Impl
+#undef aSvxPostItTextItem_Impl
#undef aSvxPostureItem_Impl
+#undef aSvxSearchItem_Impl
+#undef aSvxShadowItem_Impl
#undef aSvxShadowedItem_Impl
+#undef aSvxSizeItem_Impl
#undef aSvxTextLineItem_Impl
#undef aSvxWeightItem_Impl
+#undef aSvxZoomItem_Impl
+#undef aSvxZoomSliderItem_Impl
+#undef aTbxImageItem_Impl
+#undef aXFillBitmapItem_Impl
+#undef aXFillColorItem_Impl
+#undef aXFillGradientItem_Impl
+#undef aXFillHatchItem_Impl
+#undef aXFillStyleItem_Impl
+#undef aXFormTextAdjustItem_Impl
+#undef aXFormTextDistanceItem_Impl
+#undef aXFormTextHideFormItem_Impl
+#undef aXFormTextMirrorItem_Impl
+#undef aXFormTextOutlineItem_Impl
+#undef aXFormTextShadowColorItem_Impl
+#undef aXFormTextShadowItem_Impl
+#undef aXFormTextShadowXValItem_Impl
+#undef aXFormTextShadowYValItem_Impl
+#undef aXFormTextStartItem_Impl
+#undef aXFormTextStdFormItem_Impl
+#undef aXFormTextStyleItem_Impl
+#undef aXLineColorItem_Impl
+#undef aXLineDashItem_Impl
+#undef aXLineEndItem_Impl
+#undef aXLineStartItem_Impl
+#undef aXLineStyleItem_Impl
+#undef aXLineWidthItem_Impl
+#undef aavmedia_MediaItem_Impl
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx
index 4eebb21e51d3..d272f5160609 100644
--- a/sfx2/source/appl/appbas.cxx
+++ b/sfx2/source/appl/appbas.cxx
@@ -76,11 +76,12 @@
#include <svl/srchitem.hxx>
#include <osl/socket.hxx>
-#if defined(LIBO_MERGELIBS) || defined(IOS)
+#if defined(LIBO_MERGELIBS) || defined(DISABLE_DYNLOADING)
/* Avoid clash with the ones from svx/source/form/typemap.cxx */
#define aSfxBoolItem_Impl sfx2_source_appl_appbas_aSfxBoolItem_Impl
-#ifdef IOS
+#ifdef DISABLE_DYNLOADING
#define aSfxInt16Item_Impl sfx2_source_appl_appbas_aSfxInt16Item_Impl
+#define aSfxUnoFrameItem_Impl sfx2_source_appl_appbas_aSfxUnoFrameItem_Impl
#endif
#define aSfxStringItem_Impl sfx2_source_appl_appbas_aSfxStringItem_Impl
#define aSfxUInt16Item_Impl sfx2_source_appl_appbas_aSfxUInt16Item_Impl
@@ -92,10 +93,11 @@
#define Selection
#include "sfxslots.hxx"
-#if defined(LIBO_MERGELIBS) || defined(IOS)
+#if defined(LIBO_MERGELIBS) || defined(DISABLE_DYNLOADING)
#undef aSfxBoolItem_Impl
-#ifdef IOS
+#ifdef DISABLE_DYNLOADING
#undef aSfxInt16Item_Impl
+#undef aSfxUnoFrameItem_Impl
#endif
#undef aSfxStringItem_Impl
#undef aSfxUInt16Item_Impl