Fix: could not convert [...] ‘const char*’ to ‘const rtl::OUString’

Change-Id: Ib94c9f5eed0da67e846705f5c2c233c10583c791
This commit is contained in:
Tor Lillqvist
2015-06-05 16:45:45 +03:00
parent ab706f85bb
commit a44b770b59

View File

@@ -65,25 +65,25 @@ SAL_WNOUNREACHABLE_CODE_POP
{ {
static const OUString aSvxComponentServiceNameList[] = static const OUString aSvxComponentServiceNameList[] =
{ {
FM_SUN_COMPONENT_TEXTFIELD, OUString(FM_SUN_COMPONENT_TEXTFIELD),
FM_SUN_COMPONENT_FORM, OUString(FM_SUN_COMPONENT_FORM),
FM_SUN_COMPONENT_LISTBOX, OUString(FM_SUN_COMPONENT_LISTBOX),
FM_SUN_COMPONENT_COMBOBOX, OUString(FM_SUN_COMPONENT_COMBOBOX),
FM_SUN_COMPONENT_RADIOBUTTON, OUString(FM_SUN_COMPONENT_RADIOBUTTON),
FM_SUN_COMPONENT_GROUPBOX, OUString(FM_SUN_COMPONENT_GROUPBOX),
FM_SUN_COMPONENT_FIXEDTEXT, OUString(FM_SUN_COMPONENT_FIXEDTEXT),
FM_SUN_COMPONENT_COMMANDBUTTON, OUString(FM_SUN_COMPONENT_COMMANDBUTTON),
OUString(FM_SUN_COMPONENT_CHECKBOX), OUString(FM_SUN_COMPONENT_CHECKBOX),
FM_SUN_COMPONENT_GRIDCONTROL, OUString(FM_SUN_COMPONENT_GRIDCONTROL),
FM_SUN_COMPONENT_IMAGEBUTTON, OUString(FM_SUN_COMPONENT_IMAGEBUTTON),
FM_SUN_COMPONENT_FILECONTROL, OUString(FM_SUN_COMPONENT_FILECONTROL),
FM_SUN_COMPONENT_TIMEFIELD, OUString(FM_SUN_COMPONENT_TIMEFIELD),
FM_SUN_COMPONENT_DATEFIELD, OUString(FM_SUN_COMPONENT_DATEFIELD),
OUString(FM_SUN_COMPONENT_NUMERICFIELD), OUString(FM_SUN_COMPONENT_NUMERICFIELD),
FM_SUN_COMPONENT_CURRENCYFIELD, OUString(FM_SUN_COMPONENT_CURRENCYFIELD),
FM_SUN_COMPONENT_PATTERNFIELD, OUString(FM_SUN_COMPONENT_PATTERNFIELD),
FM_SUN_COMPONENT_HIDDENCONTROL, OUString(FM_SUN_COMPONENT_HIDDENCONTROL),
FM_SUN_COMPONENT_IMAGECONTROL OUString(FM_SUN_COMPONENT_IMAGECONTROL)
}; };
static const sal_uInt16 nSvxComponentServiceNameListCount = sizeof(aSvxComponentServiceNameList) / sizeof ( aSvxComponentServiceNameList[0] ); static const sal_uInt16 nSvxComponentServiceNameListCount = sizeof(aSvxComponentServiceNameList) / sizeof ( aSvxComponentServiceNameList[0] );