addresstemplate.cxx (f1d3244e) addresstemplate.cxx (983f6de1)
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

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

829 // -------------------------------------------------------------------
830 void AddressBookSourceDialog::resetTables()
831 {
832 if (!m_xDatabaseContext.is())
833 return;
834
835 WaitObject aWaitCursor(this);
836
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

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

829 // -------------------------------------------------------------------
830 void AddressBookSourceDialog::resetTables()
831 {
832 if (!m_xDatabaseContext.is())
833 return;
834
835 WaitObject aWaitCursor(this);
836
837 // no matter what we do here, we handled the currently selected data source (no matter if successfull or not)
837 // no matter what we do here, we handled the currently selected data source (no matter if successful or not)
838 m_aDatasource.SaveValue();
839
840 // create an interaction handler (may be needed for connecting)
841 const String sInteractionHandlerServiceName = String::CreateFromAscii("com.sun.star.task.InteractionHandler");
842 Reference< XInteractionHandler > xHandler;
843 try
844 {
845 xHandler = Reference< XInteractionHandler >(m_xORB->createInstance(sInteractionHandlerServiceName), UNO_QUERY);

--- 479 unchanged lines hidden ---
838 m_aDatasource.SaveValue();
839
840 // create an interaction handler (may be needed for connecting)
841 const String sInteractionHandlerServiceName = String::CreateFromAscii("com.sun.star.task.InteractionHandler");
842 Reference< XInteractionHandler > xHandler;
843 try
844 {
845 xHandler = Reference< XInteractionHandler >(m_xORB->createInstance(sInteractionHandlerServiceName), UNO_QUERY);

--- 479 unchanged lines hidden ---