Kaydet (Commit) 8b90ad8a authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bypass SvxBasicIDEOptionsPage when DISABLE_SCRIPTING

Change-Id: I687dc152a60d1f5ccdf8d8ca763040cbff74e3cf
üst 306dbe14
......@@ -138,7 +138,8 @@ $(eval $(call gb_Library_add_exception_objects,cui,\
cui/source/options/optaboutconfig \
cui/source/options/optaccessibility \
cui/source/options/optasian \
cui/source/options/optbasic \
$(if $(DISABLE_SCRIPTING),, \
cui/source/options/optbasic) \
cui/source/options/optchart \
cui/source/options/optcolor \
cui/source/options/optctl \
......
......@@ -320,7 +320,9 @@ SfxTabPage* CreateGeneralTabPage( sal_uInt16 nId, Window* pParent, const SfxItem
case RID_SVXPAGE_ONLINEUPDATE: fnCreate = &SvxOnlineUpdateTabPage::Create; break;
case RID_OPTPAGE_CHART_DEFCOLORS: fnCreate = &SvxDefaultColorOptPage::Create; break;
case RID_SVXPAGE_ABOUT_CONFIG: fnCreate = &CuiAboutConfigTabPage::Create; break;
#ifndef DISABLE_SCRIPTING
case RID_SVXPAGE_BASICIDE_OPTIONS: fnCreate = &SvxBasicIDEOptionsPage::Create; break;
#endif
}
SfxTabPage* pRet = fnCreate ? (*fnCreate)( pParent, rSet ) : NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment