hi All

      I am interested in developing Mac AquaBuild. And i found a pb on the
build.
      I got the sources (DEV_m12) and build it fellow the guild
http://wiki.services.openoffice.org/wiki/AquaBuild
      It works fine. But in my iMac 10.5.2, if the Preview app was not
launched before OO, i selected the "Open PDF in Preview "button from the
native print dialog. it got an error.(Printing failed because
PMSessionEndDocumentNoDialog() returned -10810.) But if the Preview app was
launched before the OO, it worked.
      I used gdb to debug it , i found the error occured
in  _LSOpenItemsWithRole_Common() it returns -10810
 #0  0x955a82e8 in _LSOpenItemsWithRole_Common ()
#1  0x955a5910 in LSOpenFromRefSpec ()
#2  0x94a2963a in PJCEndDocument ()
#3  0x94a28c1e in PMSessionEndDocumentNoDialog ()
#4  0x96e64d57 in -[NSPrintSpoolingGraphicsContext endDocument] ()
#5  0x96e642d8 in -[NSView(NSPrintingInternal) _printForCurrentOperation] ()
#6  0x96e63f41 in -[NSConcretePrintOperation _renderView] ()
#7  0x96eaa9c4 in -[NSConcretePrintOperation runOperation] ()

     Can anyone help me ?


     Best Regards.
     Lei Debin

Reply via email to