summaryrefslogtreecommitdiff
path: root/cui/source/options
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-09-03 10:54:49 +0300
committerTor Lillqvist <tml@iki.fi>2013-09-03 10:56:57 +0300
commit8b90ad8af9d72937109ded62609731033558dd84 (patch)
tree8f62330ef595880530deae76e4d66e4f835ab05b /cui/source/options
parent306dbe141da208fc3bfccd3186987ae480061448 (diff)
Bypass SvxBasicIDEOptionsPage when DISABLE_SCRIPTING
Change-Id: I687dc152a60d1f5ccdf8d8ca763040cbff74e3cf
Diffstat (limited to 'cui/source/options')
-rw-r--r--cui/source/options/treeopt.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 4fd3d8716a4e..920be54a1daa 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -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;