Boost.Format patch from Herber

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5705 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-11-24 23:43:30 +00:00
parent 92e79ed84e
commit a4c9f5fdf4
2 changed files with 9 additions and 2 deletions

View File

@ -1,7 +1,11 @@
2002-11-25 Herbert Voss <Herbert.Voss@alumni.TU-Berlin.DE>
* QVCLog.C (update_contents): fix USE_BOOST_FORMAT
2002-11-24 John Levon <levon@movementarian.org>
* QDocumentDialog.C: fix build
2002-11-21 Angus Leeming <leeming@lyx.org>
* QDocumentDialog.C (classChanged): use ControlDocument::loadTextclass.

View File

@ -47,8 +47,11 @@ void QVCLog::build_dialog()
void QVCLog::update_contents()
{
#if USE_BOOST_FORMAT
dialog_->setCaption(boost::io::str(boost::format(_("Version control log for %1$s")) % controller().getBufferFileName()).c_str());
#else
dialog_->setCaption(string(_("Version control log for ") + controller().getBufferFileName()).c_str());
#endif
dialog_->vclogTV->setText("");
ostringstream ss;