diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2010-12-26 01:22:11 +0900 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-12-27 09:37:19 +0100 |
commit | 178a5a36dfa21e296b53b9649f1526aee3e85525 (patch) | |
tree | 1c7f021a3ea02b3fbcda4d6d88d8084b0707e96a /desktop/source/app/dispatchwatcher.cxx | |
parent | 2cd16b322af55a998d7f532a482e14f385acb18d (diff) |
code cleanup and fix typos in comments
Diffstat (limited to 'desktop/source/app/dispatchwatcher.cxx')
-rw-r--r-- | desktop/source/app/dispatchwatcher.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx index 4e510c3dd60d..858e4e9acf0b 100644 --- a/desktop/source/app/dispatchwatcher.cxx +++ b/desktop/source/app/dispatchwatcher.cxx @@ -393,7 +393,6 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch try { xDoc = Reference < XPrintable >( ::comphelper::SynchronousDispatch::dispatch( xDesktop, aName, aTarget, 0, aArgs ), UNO_QUERY ); - //xDoc = Reference < XPrintable >( xDesktop->loadComponentFromURL( aName, aTarget, 0, aArgs ), UNO_QUERY ); } catch ( ::com::sun::star::lang::IllegalArgumentException& iae) { @@ -455,7 +454,6 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch rtl::OUString aOutFile = aFilterOut+ ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/" ))+ aOutFilename.getName(); - //FileBase::getFileURLFromSystemPath( aOutFile, aOutFile ); if ( bGuess ) { @@ -639,18 +637,6 @@ void SAL_CALL DispatchWatcher::dispatchFinished( const DispatchResultEvent& ) th sal_Int16 nCount = m_nRequestCount; aGuard.clear(); OfficeIPCThread::RequestsCompleted( 1 ); -/* - // Find request in our hash map and remove it as a pending request - DispatchWatcherHashMap::iterator pDispatchEntry = m_aRequestContainer.find( rEvent.FeatureURL.Complete ) ; - if ( pDispatchEntry != m_aRequestContainer.end() ) - { - m_aRequestContainer.erase( pDispatchEntry ); - aGuard.clear(); - OfficeIPCThread::RequestsCompleted( 1 ); - } - else - aGuard.clear(); -*/ if ( !nCount && !OfficeIPCThread::AreRequestsPending() ) { // We have to check if we have an open task otherwise we have to shutdown the office. |