diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 396c23a779..9450fb0ae6 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,10 @@ +2002-05-30 Lars Gullik Bjønnes + + * FileDialog.C (FileDialog): fix () bug when using new + * xformsGImage.C (newImage): ditto + * Toolbar_pimpl.C (Pimpl): ditto + * xfont_loader.C (getFontinfo): ditto + 2002-05-29 Lars Gullik Bjønnes * switch from SigC signals to boost::signals. diff --git a/src/frontends/xforms/FileDialog.C b/src/frontends/xforms/FileDialog.C index fc8b0e10e5..bdbf6cde4a 100644 --- a/src/frontends/xforms/FileDialog.C +++ b/src/frontends/xforms/FileDialog.C @@ -33,7 +33,7 @@ using std::endl; FileDialog::FileDialog(LyXView *lv, string const &t, kb_action s, Button b1, Button b2) : private_(0), lv_(lv), title_(t), success_(s) { - private_ = new FileDialog::Private(); + private_ = new FileDialog::Private; private_->SetButton(0, b1.first, b1.second); private_->SetButton(1, b2.first, b2.second); diff --git a/src/frontends/xforms/Toolbar_pimpl.C b/src/frontends/xforms/Toolbar_pimpl.C index b4c7c523eb..4cf65b6999 100644 --- a/src/frontends/xforms/Toolbar_pimpl.C +++ b/src/frontends/xforms/Toolbar_pimpl.C @@ -89,7 +89,7 @@ Toolbar::Pimpl::Pimpl(LyXView * o, int x, int y) : owner(static_cast(o)), sxpos(x), sypos(y) { combox = 0; - tooltip_ = new Tooltips(); + tooltip_ = new Tooltips; } diff --git a/src/frontends/xforms/xfont_loader.C b/src/frontends/xforms/xfont_loader.C index 3abaf0da6e..cbadcf99d1 100644 --- a/src/frontends/xforms/xfont_loader.C +++ b/src/frontends/xforms/xfont_loader.C @@ -158,7 +158,7 @@ void FontLoader::getFontinfo(LyXFont::FONT_FAMILY family, string norm = lyxrc.font_norm; string fontname; - FontInfo * fi = new FontInfo(); + FontInfo * fi = new FontInfo; fontinfo[family][series][shape] = fi; for (int cfam = 0; cfam < 2; ++cfam) { diff --git a/src/frontends/xforms/xformsGImage.C b/src/frontends/xforms/xformsGImage.C index 5aaf130ec8..8afb32bc70 100644 --- a/src/frontends/xforms/xformsGImage.C +++ b/src/frontends/xforms/xformsGImage.C @@ -40,7 +40,7 @@ ImagePtr xformsGImage::newImage() init_graphics(); ImagePtr ptr; - ptr.reset(new xformsGImage()); + ptr.reset(new xformsGImage); return ptr; }