helpagentdispatcher.cxx (07a3d7f1) helpagentdispatcher.cxx (2e3a1b6e)
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

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

279 ::vos::OGuard aSolarLock(Application::GetSolarMutex());
280 if (m_aTimer.IsActive())
281 return;
282 }
283 // <- SOLAR SAFE
284
285 // SAFE ->
286 // Timer uses pointer to this help agent dispatcher ...
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

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

279 ::vos::OGuard aSolarLock(Application::GetSolarMutex());
280 if (m_aTimer.IsActive())
281 return;
282 }
283 // <- SOLAR SAFE
284
285 // SAFE ->
286 // Timer uses pointer to this help agent dispatcher ...
287 // But normaly we are ref counted. So we must make sure that this
287 // But normally we are ref counted. So we must make sure that this
288 // dispatcher isn't killed during the timer runs .-)
289 WriteGuard aWriteLock(m_aLock);
290 m_xSelfHold = css::uno::Reference< css::uno::XInterface >(static_cast< css::frame::XDispatch* >(this), css::uno::UNO_QUERY_THROW);
291 aWriteLock.unlock();
292 // <- SAFE
293
294 sal_Int32 nTime = SvtHelpOptions().GetHelpAgentTimeoutPeriod();
295

--- 145 unchanged lines hidden ---
288 // dispatcher isn't killed during the timer runs .-)
289 WriteGuard aWriteLock(m_aLock);
290 m_xSelfHold = css::uno::Reference< css::uno::XInterface >(static_cast< css::frame::XDispatch* >(this), css::uno::UNO_QUERY_THROW);
291 aWriteLock.unlock();
292 // <- SAFE
293
294 sal_Int32 nTime = SvtHelpOptions().GetHelpAgentTimeoutPeriod();
295

--- 145 unchanged lines hidden ---