mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32782 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c5fda15678
commit
3efb4cd65e
@ -3467,16 +3467,17 @@ FuncRequest LyXAction::lookupFunc(string const & func) const
|
||||
{
|
||||
string const func2 = trim(func);
|
||||
|
||||
if (func2.empty()) {
|
||||
if (func2.empty())
|
||||
return FuncRequest(LFUN_NOACTION);
|
||||
}
|
||||
|
||||
string cmd;
|
||||
string const arg = split(func2, cmd, ' ');
|
||||
|
||||
FuncMap::const_iterator fit = lyx_func_map.find(cmd);
|
||||
FuncMap::const_iterator const fit = lyx_func_map.find(cmd);
|
||||
|
||||
return fit != lyx_func_map.end() ? FuncRequest(fit->second, arg) : FuncRequest(LFUN_UNKNOWN_ACTION);
|
||||
return fit != lyx_func_map.end()
|
||||
? FuncRequest(fit->second, arg)
|
||||
: FuncRequest(LFUN_UNKNOWN_ACTION);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user