2002-05-30 Lars Gullik Bj�nnes <larsbj@birdstep.com>

FileDialog.C (FileDialog): fix () bug when using new
xformsGImage.C (newImage): ditto
Toolbar_pimpl.C (Pimpl): ditto
xfont_loader.C (getFontinfo): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4295 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-05-30 09:48:07 +00:00
parent c0a9275323
commit aedf7c6b5b
5 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
* 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 <larsbj@birdstep.com>
* switch from SigC signals to boost::signals.

View File

@ -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);

View File

@ -89,7 +89,7 @@ Toolbar::Pimpl::Pimpl(LyXView * o, int x, int y)
: owner(static_cast<XFormsView *>(o)), sxpos(x), sypos(y)
{
combox = 0;
tooltip_ = new Tooltips();
tooltip_ = new Tooltips;
}

View File

@ -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) {

View File

@ -40,7 +40,7 @@ ImagePtr xformsGImage::newImage()
init_graphics();
ImagePtr ptr;
ptr.reset(new xformsGImage());
ptr.reset(new xformsGImage);
return ptr;
}