[Libreoffice-commits] .: embeddedobj/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Oct 5 04:31:03 PDT 2011
embeddedobj/source/msole/olepersist.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit ed156a994ab3473b7028425f0c986ab0bf831f67
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Oct 5 12:30:26 2011 +0100
fix post cast removal build error
diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx
index 4aec3ea..540064b 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;
More information about the Libreoffice-commits
mailing list