From 2c21e4eadcbd6dac4dd671cf3700651b2c3bc22c Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Mon, 15 Sep 2003 12:00:03 +0000 Subject: [PATCH] Compilation fixes (remove STRCONV). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7753 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/ChangeLog | 5 +++++ src/frontends/qt2/QAbout.C | 2 +- src/frontends/qt2/QPrefs.C | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 4fc27685f8..2583cf406f 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,8 @@ +2003-09-15 Angus Leeming + + * QAbout.C (build_dialog): + * QPrefs.C (apply): remove STRCONV. + 2003-09-09 Lars Gullik Bjønnes * BulletsModule.C: change Assert to BOOST_ASSERT diff --git a/src/frontends/qt2/QAbout.C b/src/frontends/qt2/QAbout.C index 17800ccd04..77e407ae4f 100644 --- a/src/frontends/qt2/QAbout.C +++ b/src/frontends/qt2/QAbout.C @@ -99,7 +99,7 @@ void QAbout::build_dialog() } #endif - dialog_->creditsTV->setText(toqstr(STRCONV(out.str()))); + dialog_->creditsTV->setText(toqstr(out.str())); // try to resize to a good size dialog_->copyright->hide(); diff --git a/src/frontends/qt2/QPrefs.C b/src/frontends/qt2/QPrefs.C index a6fadcdcea..46f447f56b 100644 --- a/src/frontends/qt2/QPrefs.C +++ b/src/frontends/qt2/QPrefs.C @@ -306,7 +306,7 @@ void QPrefs::apply() << setw(2) << ci->color().green() << setw(2) << ci->color().blue(); - string newhex(STRCONV(ostr.str())); + string newhex(ostr.str()); controller().setColor(col, newhex); } }