-// -*- C++ -*-
/* This file is part of
* ======================================================
*
string const LyXLength::asString() const
{
- std::ostringstream buffer;
+ ostringstream buffer;
buffer << val << unit_name[uni]; // setw?
return buffer.str().c_str();
}
string const LyXLength::asLatexString() const
{
- std::ostringstream buffer;
+ ostringstream buffer;
switch(uni) {
case PW:
case PE:
string const LyXGlueLength::asString() const
{
- std::ostringstream buffer;
+ ostringstream buffer;
if (plus_val != 0.0)
if (minus_val != 0.0)
string const LyXGlueLength::asLatexString() const
{
- std::ostringstream buffer;
+ ostringstream buffer;
if (plus_val != 0.0)
if (minus_val != 0.0)
int VSpace::inPixels(BufferView * bv) const
{
// Height of a normal line in pixels (zoom factor considered)
- int height = bv->text->DefaultHeight(); // [pixels]
+ int height = bv->text->defaultHeight(); // [pixels]
int skip = 0;
int width = bv->workWidth();