[poppler] Printing support in poppler-qt
Jeff Muizelaar
jeff at infidigm.net
Wed May 31 23:43:01 PDT 2006
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.
-Jeff
More information about the poppler
mailing list