]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.cpp
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetListings.cpp
index 2d9fc167960a8c00cbd5ea3cf63573727ff51447..d3deadb6242df1fc3a51a4cf5b6cef0c2fe46098 100644 (file)
 
 #include <sstream>
 
-using std::istringstream;
-using std::ostream;
-using std::ostringstream;
-using std::string;
+using namespace std;
+using namespace lyx::support;
 
 namespace lyx {
 
-using support::token;
-using support::contains;
-using support::subst;
 
 char const lstinline_delimiters[] =
        "!*()-=+|;:'\"`,<.>/?QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm";
@@ -256,7 +251,7 @@ bool InsetListings::getStatus(Cursor & cur, FuncRequest const & cmd,
 void InsetListings::setButtonLabel()
 {
        // FIXME UNICODE
-       if (decoration() == Classic)
+       if (decoration() == Deco_Classic)
                setLabel(isOpen() ?  _("Listing") : getNewLabel(_("Listing")));
        else
                setLabel(getNewLabel(_("Listing")));