diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-05 12:30:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-05 12:30:26 +0100 |
commit | ed156a994ab3473b7028425f0c986ab0bf831f67 (patch) | |
tree | 5781e3a03a27f4c16502ee02b9ec3a2b94cdbe17 /embeddedobj | |
parent | 0ca1973c7c97e62c727484ea66adef26fa2f8162 (diff) |
fix post cast removal build error
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/msole/olepersist.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx index 4aec3eafd7a7..540064b35c8f 100644 --- a/embeddedobj/source/msole/olepersist.cxx +++ b/embeddedobj/source/msole/olepersist.cxx @@ -1066,7 +1066,7 @@ void OleEmbeddedObject::StoreObjectToStream( uno::Reference< io::XOutputStream > m_pOleComponent->StoreOwnTmpIfNecessary(); // now all the changes should be in temporary location - if ( !m_aTempURL ) + if ( m_aTempURL.isEmpty() ) throw uno::RuntimeException(); // open temporary file for reading @@ -2021,7 +2021,7 @@ void SAL_CALL OleEmbeddedObject::breakLink( const uno::Reference< embed::XStorag catch ( uno::Exception& ) { delete pNewOleComponent; - if ( m_aTempURL ) + if ( !m_aTempURL.isEmpty() ) KillFile_Impl( m_aTempURL, m_xFactory ); m_aTempURL = aOldTempURL; throw; @@ -2033,7 +2033,7 @@ void SAL_CALL OleEmbeddedObject::breakLink( const uno::Reference< embed::XStorag catch( uno::Exception& ) { delete pNewOleComponent; - if ( m_aTempURL ) + if ( !m_aTempURL.isEmpty() ) KillFile_Impl( m_aTempURL, m_xFactory ); m_aTempURL = aOldTempURL; throw; |