summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/confuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/confuno.cxx')
-rw-r--r--sc/source/ui/unoobj/confuno.cxx62
1 files changed, 31 insertions, 31 deletions
diff --git a/sc/source/ui/unoobj/confuno.cxx b/sc/source/ui/unoobj/confuno.cxx
index 666a86841e7f..b28a62865e12 100644
--- a/sc/source/ui/unoobj/confuno.cxx
+++ b/sc/source/ui/unoobj/confuno.cxx
@@ -45,38 +45,38 @@ static const SfxItemPropertyMapEntry* lcl_GetConfigPropertyMap()
{
static const SfxItemPropertyMapEntry aConfigPropertyMap_Impl[] =
{
- {SC_UNO_SHOWZERO, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_SHOWNOTES, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_SHOWGRID, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_GRIDCOLOR, 0, getCppuType((sal_Int32*)0), 0, 0},
- {SC_UNO_SHOWPAGEBR, 0, getBooleanCppuType(), 0, 0},
- {SC_UNONAME_LINKUPD, 0, getCppuType((sal_Int16*)0), 0, 0},
- {SC_UNO_COLROWHDR, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_SHEETTABS, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_OUTLSYMB, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_SNAPTORASTER, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_RASTERVIS, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_RASTERRESX, 0, getCppuType((sal_Int32*)0), 0, 0},
- {SC_UNO_RASTERRESY, 0, getCppuType((sal_Int32*)0), 0, 0},
- {SC_UNO_RASTERSUBX, 0, getCppuType((sal_Int32*)0), 0, 0},
- {SC_UNO_RASTERSUBY, 0, getCppuType((sal_Int32*)0), 0, 0},
- {SC_UNO_RASTERSYNC, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_AUTOCALC, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_PRINTERNAME, 0, getCppuType((OUString*)0), 0, 0},
- {SC_UNO_PRINTERSETUP, 0, getCppuType((uno::Sequence<sal_Int8>*)0), 0, 0},
- {SC_UNO_APPLYDOCINF, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_FORBIDDEN, 0, getCppuType((uno::Reference<i18n::XForbiddenCharacters>*)0), beans::PropertyAttribute::READONLY, 0},
- {SC_UNO_CHARCOMP, 0, getCppuType((sal_Int16*)0), 0, 0},
- {SC_UNO_ASIANKERN, 0, getBooleanCppuType(), 0, 0},
- {SCSAVEVERSION, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_UPDTEMPL, 0, getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_SHOWZERO), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_SHOWNOTES), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_SHOWGRID), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_GRIDCOLOR), 0, &getCppuType((sal_Int32*)0), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_SHOWPAGEBR), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNONAME_LINKUPD), 0, &getCppuType((sal_Int16*)0), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_COLROWHDR), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_SHEETTABS), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_OUTLSYMB), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_SNAPTORASTER), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_RASTERVIS), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_RASTERRESX), 0, &getCppuType((sal_Int32*)0), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_RASTERRESY), 0, &getCppuType((sal_Int32*)0), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_RASTERSUBX), 0, &getCppuType((sal_Int32*)0), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_RASTERSUBY), 0, &getCppuType((sal_Int32*)0), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_RASTERSYNC), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_AUTOCALC), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_PRINTERNAME), 0, &getCppuType((OUString*)0), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_PRINTERSETUP), 0, &getCppuType((uno::Sequence<sal_Int8>*)0), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_APPLYDOCINF), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_FORBIDDEN), 0, &getCppuType((uno::Reference<i18n::XForbiddenCharacters>*)0), beans::PropertyAttribute::READONLY, 0},
+ {MAP_CHAR_LEN(SC_UNO_CHARCOMP), 0, &getCppuType((sal_Int16*)0), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_ASIANKERN), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SCSAVEVERSION), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_UPDTEMPL), 0, &getBooleanCppuType(), 0, 0},
/*Stampit enable/disable print cancel */
- {SC_UNO_ALLOWPRINTJOBCANCEL, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_LOADREADONLY, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_SHAREDOC, 0, getBooleanCppuType(), 0, 0},
- {SC_UNO_MODIFYPASSWORDINFO, 0, getCppuType((uno::Sequence< beans::PropertyValue >*)0), 0, 0},
- {SC_UNO_EMBED_FONTS, 0, getBooleanCppuType(), 0, 0},
- {}
+ {MAP_CHAR_LEN(SC_UNO_ALLOWPRINTJOBCANCEL), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_LOADREADONLY), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_SHAREDOC), 0, &getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_MODIFYPASSWORDINFO), 0, &getCppuType((uno::Sequence< beans::PropertyValue >*)0), 0, 0},
+ {MAP_CHAR_LEN(SC_UNO_EMBED_FONTS), 0, &getBooleanCppuType(), 0, 0},
+ {0,0,0,0,0,0}
};
return aConfigPropertyMap_Impl;
}