summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-05-03 18:01:44 +0200
committerJan Holesovsky <kendy@collabora.com>2015-05-03 18:04:23 +0200
commit6efd08e37b81c637c6cf48e6cd903365ffbc0813 (patch)
tree6aa757a6ffd06442e818dbf80fd3889981dfa768
parent83c03d2fa008354241333a036231ef0a78b826be (diff)
sc: Avoid registering controls.
Change-Id: I7a9afb5ce7a782713ae8fedf6cf7c9937ff652b9
-rw-r--r--sc/source/ui/app/scdll.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx
index 40765e0d25bd..30947e567e4f 100644
--- a/sc/source/ui/app/scdll.cxx
+++ b/sc/source/ui/app/scdll.cxx
@@ -17,8 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <editeng/eeitem.hxx>
+#include <config_features.h>
+#include <editeng/eeitem.hxx>
#include <svx/fmobjfac.hxx>
#include <svx/objfac3d.hxx>
#include <svx/tbxcolor.hxx>
@@ -152,6 +153,7 @@ void ScDLL::Init()
ScMediaShell ::RegisterInterface(pMod);
ScPageBreakShell ::RegisterInterface(pMod);
+#if HAVE_FEATURE_DESKTOP
SfxRecentFilesToolBoxControl::RegisterControl(SID_OPEN_CALC, pMod);
// Own Controller
@@ -278,6 +280,7 @@ void ScDLL::Init()
ScValidityRefChildWin::RegisterChildWindow(false, pMod);
sc::SearchResultsDlgWrapper::RegisterChildWindow(false, pMod);
+#endif
// EditEngine Field; insofar not already defined in OfficeApplication::Init
SvClassManager& rClassManager = SvxFieldItem::GetClassManager();