]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.cpp
pimpl not needed here
[lyx.git] / src / insets / InsetListings.cpp
index c43240bfe61eb25b563a27cebc6435521aad837d..268644a615b25eed27e6fdc0b0f01f0655c94621 100644 (file)
 
 #include <sstream>
 
+using std::istringstream;
+using std::ostream;
+using std::ostringstream;
+using std::string;
+
 namespace lyx {
 
 using support::token;
 using support::contains;
 using support::subst;
 
-using std::istringstream;
-using std::ostream;
-using std::ostringstream;
-using std::string;
-
 char const lstinline_delimiters[] =
        "!*()-=+|;:'\"`,<.>/?QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm";
 
-void InsetListings::init()
-{
-       setButtonLabel();
-       layout_.labelfont.setColor(Color_none);
-
-       // FIXME: what to do with those?
-       //text_.current_font.setLanguage(latex_language);
-       //text_.real_current_font.setLanguage(latex_language);
-}
-
-
 InsetListings::InsetListings(BufferParams const & bp, InsetListingsParams const & par)
        : InsetCollapsable(bp, par.status())
-{
-       init();
-}
+{}
 
 
 InsetListings::InsetListings(InsetListings const & in)
        : InsetCollapsable(in), params_(in.params_)
-{
-       init();
-}
+{}
 
 
 Inset * InsetListings::clone() const