compile fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5040 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-08-20 17:31:23 +00:00
parent 570ac6e4f4
commit f7927c40c8
5 changed files with 18 additions and 12 deletions

View File

@ -250,7 +250,7 @@ bool BufferView::dispatch(FuncRequest const & ev)
}
void BufferView::moveCursorUpdate(bool selecting, bool fitcur = true)
void BufferView::moveCursorUpdate(bool selecting, bool fitcur)
{
pimpl_->moveCursorUpdate(selecting, fitcur);
}

View File

@ -1,3 +1,10 @@
2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
* bufferlist.C (emergencyWrite): don't use fmt(...)
* text3.C: add using std::endl
* BufferView.C (moveCursorUpdate): remove default arg
2002-08-20 André Pönitz <poenitz@gmx.net>

View File

@ -304,9 +304,10 @@ void BufferList::emergencyWrite(Buffer * buf)
if (buf->isClean())
return;
lyxerr << fmt(_("lyx: Attempting to save document %s as..."),
buf->isUnnamed() ? OnlyFilename(buf->fileName()).c_str()
: buf->fileName().c_str()) << endl;
lyxerr << _("lyx: Attempting to save document ")
<< (buf->isUnnamed() ? OnlyFilename(buf->fileName())
: buf->fileName())
<< _(" as...") << endl;
// We try to save three places:

View File

@ -26,7 +26,4 @@ std::ostream & operator<<(std::ostream & os, NewLineAndDepth_ const & nlad_)
return os;
}
///
std::string fmt(char const * fmtstr ...);
#endif

View File

@ -28,6 +28,7 @@
#include "insets/insetspecialchar.h"
#include "insets/insettext.h"
using std::endl;
extern string current_layout;