X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetListings.cpp;h=d3deadb6242df1fc3a51a4cf5b6cef0c2fe46098;hb=2c357c1d23b7b83839a9beb8225d4f1ae4f793b4;hp=d3a3c64f8c3052c8d20f6969990478b81e56df3b;hpb=4bf0bed36acca6139d905a6c004886ea5c93f608;p=lyx.git diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp index d3a3c64f8c..d3deadb624 100644 --- a/src/insets/InsetListings.cpp +++ b/src/insets/InsetListings.cpp @@ -21,7 +21,7 @@ #include "DispatchResult.h" #include "FuncRequest.h" #include "FuncStatus.h" -#include "gettext.h" +#include "support/gettext.h" #include "InsetList.h" #include "Language.h" #include "MetricsInfo.h" @@ -32,16 +32,11 @@ #include -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")));