Re: [Cvslog] r21394 - in /lyx-devel/trunk/src/insets: InsetListings.cp...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Cvslog] r21394 - in /lyx-devel/trunk/src/insets: InsetListings.cp...

Martin Vermeer-2
On Fri, Nov 02, 2007 at 11:12:45PM +0000, [hidden email] wrote:

> Author: younes
> Date: Sat Nov  3 00:12:43 2007
> New Revision: 21394
>
> URL: http://www.lyx.org/trac/changeset/21394
> Log:
> Remremove unneeded init() method.
>
>
> Modified:
>     lyx-devel/trunk/src/insets/InsetListings.cpp
>     lyx-devel/trunk/src/insets/InsetListings.h
>
> Modified: lyx-devel/trunk/src/insets/InsetListings.cpp
> URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/insets/InsetListings.cpp?rev=21394
> ==============================================================================
> --- lyx-devel/trunk/src/insets/InsetListings.cpp (original)
> +++ lyx-devel/trunk/src/insets/InsetListings.cpp Sat Nov  3 00:12:43 2007
> @@ -31,43 +31,28 @@
>  
>  #include <sstream>
>  
> -namespace lyx {
> -
> -using support::token;
> -using support::contains;
> -using support::subst;
> -
>  using std::istringstream;
>  using std::ostream;
>  using std::ostringstream;
>  using std::string;
>  
> +namespace lyx {
> +
> +using support::token;
> +using support::contains;
> +using support::subst;
> +
>  char const lstinline_delimiters[] =
>   "!*()-=+|;:'\"`,<.>/?QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm";
>  
> -void InsetListings::init()
> -{
> - setButtonLabel();
> - layout_.labelfont.setColor(Color_none);

Great. I see you did Box too.

- Martin