mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-25 17:44:59 +00:00
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:
parent
92e79ed84e
commit
a4c9f5fdf4
@ -1,3 +1,7 @@
|
|||||||
|
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>
|
2002-11-24 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
* QDocumentDialog.C: fix build
|
* QDocumentDialog.C: fix build
|
||||||
|
@ -47,8 +47,11 @@ void QVCLog::build_dialog()
|
|||||||
|
|
||||||
void QVCLog::update_contents()
|
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());
|
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("");
|
dialog_->vclogTV->setText("");
|
||||||
|
|
||||||
ostringstream ss;
|
ostringstream ss;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user