]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlCommandBuffer.C
convert author names and status messages to docstring
[lyx.git] / src / frontends / controllers / ControlCommandBuffer.C
index a5ad6fada576aa60269c7bb9b58eea034adbd9e6..ef4bcb6a281f0c45842c72d684907409fa5e330d 100644 (file)
@@ -79,7 +79,7 @@ string const ControlCommandBuffer::historyDown()
 }
 
 
-string const ControlCommandBuffer::getCurrentState() const
+docstring const ControlCommandBuffer::getCurrentState() const
 {
        return lv_.view()->cursor().currentState();
 }
@@ -133,7 +133,7 @@ void ControlCommandBuffer::dispatch(string const & str)
        history_pos_ = history_.end();
        FuncRequest func = lyxaction.lookupFunc(str);
        func.origin = FuncRequest::COMMANDBUFFER;
-       lv_.getLyXFunc().dispatch(func);
+       lv_.dispatch(func);
 }
 
 } // namespace frontend