Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.