diff --git a/src/frontends/Toolbars.C b/src/frontends/Toolbars.C index 06b0ca8d22..f03e50a070 100644 --- a/src/frontends/Toolbars.C +++ b/src/frontends/Toolbars.C @@ -141,6 +141,9 @@ ToolbarBackend::Flags Toolbars::getToolbarState(string const & name) lyxerr[Debug::GUI] << "Toolbar::display: no toolbar named " << name << endl; + + // return dummy for msvc + return ToolbarBackend::OFF; }