[poppler] Printing support in poppler-qt
Albert Astals Cid
aacid at kde.org
Thu Jun 1 10:24:56 PDT 2006
A Dijous 01 Juny 2006 08:43, Jeff Muizelaar va escriure:
> On Thu, Jun 01, 2006 at 08:13:59AM +0200, Stefan Kebekus wrote:
> > Am Donnerstag 01 Juni 2006 08:10 schrieb Jeff Muizelaar:
> > > On Thu, Jun 01, 2006 at 07:11:50AM +0200, Stefan Kebekus wrote:
> > > > On Wednesday 31 May 2006 22:03, Albert Astals Cid wrote:
> > > > > Do we really need
> > > > >
> > > > > + const char *of = file.latin1();
> > > > > + char *tf = new char[strlen(of)+10];
> > > > > + strcpy(tf, of);
> > > > >
> > > > > doesn't using file.latin1() work?
> > > >
> > > > The trouble is, file.latin1() returns a "const char *", but the
> > > > method we're calling takes a "char *".
> > >
> > > It would be better to change the PSOutputDev to take a const char *.
> >
> > Ok, I agree. However, I am not sure I should mingle with that code
> > --because I don't understand it. Would you do the change, please?
>
> Done.
Done2, that is printing patch is in.
Albert
>
> -Jeff
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
More information about the poppler
mailing list