Hi Xisco, On 2011-03-17 at 13:52 +0100, Xisco Faulí wrote:
> // #FIXME this *MUST* be wrong documents::close surely closes ALL > documents > // in the collection, use of getCurrentDocument here is totally wrong > -/* > - uno::Reference< lang::XMultiComponentFactory > xSMgr( > - mxContext->getServiceManager(), uno::UNO_QUERY_THROW ); > - uno::Reference< frame::XModel > xModel( getCurrentDocument(), > uno::UNO_QUERY_THROW ); > - rtl::OUString url = > rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:CloseDoc")); > - dispatchRequests(xModel,url); > -*/ In this case it seems that even the FIXME should be removed - it references the code that is commented out. Regards, Kendy _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice