misc.cxx (3b8558fd) | misc.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 --- 916 unchanged lines hidden (view full) --- 925 return xRes; 926} 927 928/////////////////////////////////////////////////////////////////////////// 929 930AppExitListener::AppExitListener() 931{ 932 // add object to 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 --- 916 unchanged lines hidden (view full) --- 925 return xRes; 926} 927 928/////////////////////////////////////////////////////////////////////////// 929 930AppExitListener::AppExitListener() 931{ 932 // add object to Desktop EventListeners in order to properly call |
933 // the AtExit function at appliction exit. | 933 // the AtExit function at application exit. |
934 uno::Reference< XMultiServiceFactory > xMgr = getProcessServiceFactory(); 935 936 if (xMgr.is()) 937 { 938 try 939 { 940 xDesktop = uno::Reference< frame::XDesktop >( 941 xMgr->createInstance( A2OU( SN_DESKTOP ) ), UNO_QUERY ); --- 64 unchanged lines hidden --- | 934 uno::Reference< XMultiServiceFactory > xMgr = getProcessServiceFactory(); 935 936 if (xMgr.is()) 937 { 938 try 939 { 940 xDesktop = uno::Reference< frame::XDesktop >( 941 xMgr->createInstance( A2OU( SN_DESKTOP ) ), UNO_QUERY ); --- 64 unchanged lines hidden --- |