[email protected] wrote:
> Author: rgheck
> Date: Wed Sep 15 15:02:45 2010
> New Revision: 35385
> URL: http://www.lyx.org/trac/changeset/35385
> 
> Log:
> Add topsep and bottomsep handling to the default CSS we generate.
> 
> -// NOTE There is a whole ton of stuff that could go into this.
> -// Things like bottomsep, topsep, and parsep could become various
> -// sorts of margins or padding, for example. But for now we are
> -// going to keep it simple.
> +namespace {
> +     string makeMarginValue(double d) {
> +             ostringstream os;
> +             os << d << "ex";
> +             return os.str();
> +     }
> +}

g++ -DHAVE_CONFIG_H -I. -I..   -I../src   -DQT_NO_STL -DQT_NO_KEYWORDS 
-DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore   -Wextra -Wall    -g 
-O -MT Layout.o -MD -MP -MF .deps/Layout.Tpo -c -o Layout.o Layout.cpp
Layout.cpp: In function 'std::string lyx::<unnamed>::makeMarginValue(double)':
Layout.cpp:1008: error: aggregate 'std::ostringstream os' has incomplete type 
and cannot be defined

Reply via email to