unolingu.cxx (30acf5e8) unolingu.cxx (07df5c71)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 863 unchanged lines hidden (view full) ---

872 // lang::XEventListener
873 virtual void SAL_CALL disposing(const EventObject& rSource)
874 throw( RuntimeException );
875};
876
877LinguMgrAppExitLstnr::LinguMgrAppExitLstnr()
878{
879 // add object to frame::Desktop EventListeners in order to properly call
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 863 unchanged lines hidden (view full) ---

872 // lang::XEventListener
873 virtual void SAL_CALL disposing(const EventObject& rSource)
874 throw( RuntimeException );
875};
876
877LinguMgrAppExitLstnr::LinguMgrAppExitLstnr()
878{
879 // add object to frame::Desktop EventListeners in order to properly call
880 // the AtExit function at appliction exit.
880 // the AtExit function at application exit.
881
882 uno::Reference< XMultiServiceFactory > xMgr = getProcessServiceFactory();
883 if ( xMgr.is() )
884 {
885 xDesktop = uno::Reference< XComponent > ( xMgr->createInstance(
886 OUString( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.frame.Desktop" ) ) ), UNO_QUERY ) ;
887 if (xDesktop.is())
888 xDesktop->addEventListener( this );

--- 485 unchanged lines hidden ---
881
882 uno::Reference< XMultiServiceFactory > xMgr = getProcessServiceFactory();
883 if ( xMgr.is() )
884 {
885 xDesktop = uno::Reference< XComponent > ( xMgr->createInstance(
886 OUString( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.frame.Desktop" ) ) ), UNO_QUERY ) ;
887 if (xDesktop.is())
888 xDesktop->addEventListener( this );

--- 485 unchanged lines hidden ---