diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-11 15:22:14 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-11 16:41:58 +0100 |
commit | f3caa92527aee3c95960e95c90e1e1cdd33f1342 (patch) | |
tree | 18a383ce061e62c0f3c7b064fbb634ab9cefc28a /desktop | |
parent | 1290a4082c298eecd597a7f268b6a19e1e64e9b8 (diff) |
pDocsRequest cannot be null
Change-Id: I399175f154e0a75779b90b74396c13fe2acbca49
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/officeipcthread.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx index ccc72ec06f1e..6c41f12c4e17 100644 --- a/desktop/source/app/officeipcthread.cxx +++ b/desktop/source/app/officeipcthread.cxx @@ -296,12 +296,8 @@ IMPL_STATIC_LINK_TYPED( ProcessEventsClass_Impl, ProcessDocumentsEvent, void*, p { // Documents requests are processed by the OfficeIPCThread implementation ProcessDocumentsRequest* pDocsRequest = static_cast<ProcessDocumentsRequest*>(pEvent); - - if ( pDocsRequest ) - { - OfficeIPCThread::ExecuteCmdLineRequests( *pDocsRequest ); - delete pDocsRequest; - } + OfficeIPCThread::ExecuteCmdLineRequests( *pDocsRequest ); + delete pDocsRequest; } void ImplPostForeignAppEvent( ApplicationEvent* pEvent ) |