summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-27 13:29:01 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-27 13:31:16 +0200
commit1c48417cf7f726e86bbb84a5403b56d925ce5610 (patch)
treeacbc0dba190476b313768c69519528a98b219cdc /sc
parentWaE: macro is not used: USE_LIBPNG (diff)
downloadcore-1c48417cf7f726e86bbb84a5403b56d925ce5610.tar.gz
core-1c48417cf7f726e86bbb84a5403b56d925ce5610.zip
Bypass FuncData::getParamDesc() too in the DISABLE_DYNLOADING case
Change-Id: Ia115355af6e556fb848235691be68edd2462752d
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/callform.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/core/tool/callform.cxx b/sc/source/core/tool/callform.cxx
index 7117c711c551..d46409bac3a7 100644
--- a/sc/source/core/tool/callform.cxx
+++ b/sc/source/core/tool/callform.cxx
@@ -391,6 +391,12 @@ const OUString& FuncData::GetModuleName() const
bool FuncData::getParamDesc( OUString& aName, OUString& aDesc, sal_uInt16 nParam ) const
{
+#ifdef DISABLE_DYNLOADING
+ (void) aName;
+ (void) aDesc;
+ (void) nParam;
+ return false;
+#else
bool bRet = false;
if ( nParam <= nParamCount )
{
@@ -414,6 +420,7 @@ bool FuncData::getParamDesc( OUString& aName, OUString& aDesc, sal_uInt16 nParam
aDesc = OUString();
}
return bRet;
+#endif
}
FuncCollection::FuncCollection() {}