mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5040 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
570ac6e4f4
commit
f7927c40c8
@ -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);
|
||||
}
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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:
|
||||
|
||||
|
@ -26,7 +26,4 @@ std::ostream & operator<<(std::ostream & os, NewLineAndDepth_ const & nlad_)
|
||||
return os;
|
||||
}
|
||||
|
||||
///
|
||||
std::string fmt(char const * fmtstr ...);
|
||||
|
||||
#endif
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "insets/insetspecialchar.h"
|
||||
#include "insets/insettext.h"
|
||||
|
||||
using std::endl;
|
||||
|
||||
extern string current_layout;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user