fix some syntax errors

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10695 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2006-01-01 20:28:05 +00:00
parent 7562e52b85
commit cfcb59904b
10 changed files with 26 additions and 10 deletions

View File

@ -1,3 +1,11 @@
2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
* MenuBackend.h:
* bufferlist.h:
* lyxtext.h:
* paragraph.h:
* vspace.h: fix syntax error
2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
* text3.C (dispatch): Force refresh if typing into inset changes its

View File

@ -190,7 +190,7 @@ public:
///
typedef MenuList::iterator iterator;
///
MenuBackend::MenuBackend() : specialmenu_(0) {}
MenuBackend() : specialmenu_(0) {}
///
void read(LyXLex &);
///

View File

@ -69,7 +69,7 @@ public:
/// returns a pointer to the buffer with the given number.
Buffer * getBuffer(unsigned int);
/// returns a pointer to the buffer whose temppath matches the string
Buffer * BufferList::getBufferFromTmp(std::string const &);
Buffer * getBufferFromTmp(std::string const &);
/** returns a pointer to the buffer that follows argument in
* buffer list. The buffer following the last in list is the

View File

@ -1,3 +1,7 @@
2006-01-01 <larsbj@gullik.net>
* insetcharstyle.h: fix syntax error
2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
* insetcollapsable.C (metrics): reverse patch of 2005-12-16 because

View File

@ -44,7 +44,7 @@ public:
class InsetCharStyle : public InsetCollapsable {
public:
/// Construct an undefined character style
InsetCharStyle::InsetCharStyle(BufferParams const &, std::string const);
InsetCharStyle(BufferParams const &, std::string const);
///
InsetCharStyle(BufferParams const &, CharStyles::iterator);
/// Is this character style defined in the document's textclass?

View File

@ -133,7 +133,7 @@ public:
/// read-write access to individual paragraph
Paragraph & getPar(pit_type pit) { return pars_[pit]; }
// Returns the current font and depth as a message.
std::string LyXText::currentState(LCursor & cur);
std::string currentState(LCursor & cur);
/** returns row near the specified
* y-coordinate in given paragraph (relative to the screen).

View File

@ -1,3 +1,7 @@
2006-01-01 <larsbj@gullik.net>
* command_inset.C (editXY): unused parameters
2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* math_hullinset.C: initialize Math (symbol fonts and parser) if not

View File

@ -47,7 +47,7 @@ void CommandInset::metrics(MetricsInfo & mi, Dimension & dim) const
}
InsetBase * CommandInset::editXY(LCursor & cur, int x, int y)
InsetBase * CommandInset::editXY(LCursor & cur, int /*x*/, int /*y*/)
{
edit(cur, true);
return this;

View File

@ -107,10 +107,10 @@ public:
///
std::string const asString(Buffer const &, bool label) const;
///
std::string const Paragraph::asString(Buffer const & buffer,
lyx::pos_type beg,
lyx::pos_type end,
bool label) const;
std::string const asString(Buffer const & buffer,
lyx::pos_type beg,
lyx::pos_type end,
bool label) const;
///
std::string const asString(Buffer const &,
OutputParams const & runparams,

View File

@ -62,7 +62,7 @@ public:
/// the latex representation
std::string const asLatexCommand(BufferParams const & params) const;
/// how it is seen in the LyX window
std::string const VSpace::asGUIName() const;
std::string const asGUIName() const;
/// the size of the space on-screen
int inPixels(BufferView const & bv) const;