Kaydet (Commit) 893862c3 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

tdf#124057: Do call RegisterControls() on non-DESKTOP

Otherwise the Tools > Word Count dialog doesn't show up in the iOS
app.

Change-Id: Ic425749cc8f3245d7a16d7784d77b02f6d47253f
üst 8025a619
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
#include <memory> #include <memory>
#include <config_features.h>
#include <svx/svdobj.hxx> #include <svx/svdobj.hxx>
...@@ -132,10 +131,8 @@ SwDLL::SwDLL() ...@@ -132,10 +131,8 @@ SwDLL::SwDLL()
// register your shell-interfaces here // register your shell-interfaces here
RegisterInterfaces(); RegisterInterfaces();
#if HAVE_FEATURE_DESKTOP
// register your controllers here // register your controllers here
RegisterControls(); RegisterControls();
#endif
if (!utl::ConfigManager::IsFuzzing()) if (!utl::ConfigManager::IsFuzzing())
{ {
......
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