]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettoc.C
Some cleanup; fix a bug where bibtex entries list would have extraneous spaces.
[lyx.git] / src / insets / insettoc.C
index e93003c44318bc8e5d18f221572dcb4c0129d265..d7da8300c1b2eec269e29d8eddfc6b119ac0ab81 100644 (file)
 #include "lyxfunc.h"
 #include "LyXView.h"
 
-extern BufferView *current_view;
+extern BufferView * current_view;
 
 void InsetTOC::Edit(int, int)
 {
-       current_view->getOwner()->getLyXFunc()->Dispatch(LFUN_TOCVIEW);
+       current_view->owner()->getLyXFunc()->Dispatch(LFUN_TOCVIEW);
 }
 
-int InsetTOC::Linuxdoc(LString &file)
+int InsetTOC::Linuxdoc(string & file)
 {
        file += "<toc>";
        return 0;
 }
 
 
-int InsetTOC::DocBook(LString &file)
+int InsetTOC::DocBook(string & file)
 {
        file += "<toc></toc>";
        return 0;