[Libreoffice-commits] .: 3 commits - sc/source tubes/inc tubes/Library_tubes.mk tubes/source

Lubos Lunak l.lunak at suse.cz
Fri Jul 20 12:50:01 PDT 2012


On Friday 20 of July 2012, Matus Kukan wrote:
>  sc/source/ui/collab/contacts.cxx |    8 ---
>  sc/source/ui/collab/sendfunc.cxx |   82
> +--------------------------------------
> sc/source/ui/collab/sendfunc.hxx |  1
>  tubes/Library_tubes.mk           |    4 +
>  tubes/inc/tubes/manager.hxx      |    4 -
>  tubes/source/manager.cxx         |   47 +++++++++++++++++++---
>  6 files changed, 48 insertions(+), 98 deletions(-)
...
> +    try
> +    {
> +        css::uno::Reference < css::frame::XComponentLoader > xLoader(
> +                ::comphelper::getProcessServiceFactory()->createInstance(
> +                        "com.sun.star.frame.Desktop" ),
> +                        css::uno::UNO_QUERY_THROW );
> +        css::uno::Reference < css::util::XCloseable > xDoc(
> +                xLoader->loadComponentFromURL( rStr, "_blank", 0, args ),
> +                css::uno::UNO_QUERY_THROW );
> +    }
> +    catch ( css::uno::Exception& e )
> +    {
> +        fprintf( stderr, "exception when loading '%s' !\n",
> +                 rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8
> ).getStr() );

 SAL_WARN

> +    } 


-- 
 Lubos Lunak
 l.lunak at suse.cz


More information about the LibreOffice mailing list