remove broken promises

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21204 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-10-25 18:27:08 +00:00
parent 6981d14f80
commit 3fa21d5b43
2 changed files with 3 additions and 5 deletions

View File

@ -32,9 +32,7 @@ namespace support { class FileName; }
class Lexer;
/// This contains the runtime configuration of LyX
class LyXRC //: public noncopyable
// after 1.1.6 I will use a LyXRCStruct here and then this can be made
// noncopyable again. For now I want to minimise changes. ARRae 20001010
class LyXRC
{
public:
enum LyXRCTags {
@ -384,7 +382,7 @@ class LyXRC_PreviewStatus {
LyXRC::PreviewStatus val_;
public:
LyXRC_PreviewStatus(LyXRC::PreviewStatus val) : val_(val) {}
operator LyXRC::PreviewStatus() const{ return val_; }
operator LyXRC::PreviewStatus() const { return val_; }
};

View File

@ -461,7 +461,7 @@ PrefScreenFonts::PrefScreenFonts(GuiPreferences * form, QWidget * parent)
void PrefScreenFonts::apply(LyXRC & rc) const
{
LyXRC const oldrc(rc);
LyXRC const oldrc = rc;
boost::tie(rc.roman_font_name, rc.roman_font_foundry)
= parseFontName(fromqstr(screenRomanCO->currentText()));