Uwe Stöhr wrote:
> diff --git a/src/insets/InsetBox.cpp b/src/insets/InsetBox.cpp
> index ddb1dce..e6e873b 100644
> --- a/src/insets/InsetBox.cpp
> +++ b/src/insets/InsetBox.cpp
> @@ -306,17 +319,25 @@ void InsetBox::latex(otexstream & os, OutputParams 
> const & runparams) const
>       case Framed:
> +             if (!thickness_string.empty() && thickness_string.find("0.4pt") 
> == string::npos)
> +                     os << "{\\FrameRule " << from_ascii(thickness_string);
> +             if (!separation_string.empty() && separation_string.find("3pt") 
> == string::npos)
> +                     os << "{\\FrameSep " << from_ascii(separation_string);

Could you put the hardcoded values like "0.4pt", "3pt" into some const variable 
and use it instead
of spilling these strings all over the place?

Pavel

Reply via email to