From 1c48417cf7f726e86bbb84a5403b56d925ce5610 Mon Sep 17 00:00:00 2001
From: Tor Lillqvist <tml@iki.fi>
Date: Wed, 27 Mar 2013 13:29:01 +0200
Subject: Bypass FuncData::getParamDesc() too in the DISABLE_DYNLOADING case

Change-Id: Ia115355af6e556fb848235691be68edd2462752d
---
 sc/source/core/tool/callform.cxx | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'sc')

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() {}
-- 
cgit