diff options
-rw-r--r-- | sot/source/sdstor/ucbstorage.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index c1c09b8bfebe..e6993a6d6e89 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -690,6 +690,9 @@ BOOL UCBStorageStream::CopyTo( BaseStorageStream* pDestStm ) BOOL UCBStorageStream::SetProperty( const String& rName, const ::com::sun::star::uno::Any& rValue ) { + if ( rName.CompareToAscii("Title") == COMPARE_EQUAL ) + return FALSE; + try { if ( pImp->m_pContent ) @@ -1818,6 +1821,9 @@ BOOL UCBStorage::IsStorageFile( SvStream* pFile ) BOOL UCBStorage::SetProperty( const String& rName, const ::com::sun::star::uno::Any& rValue ) { + if ( rName.CompareToAscii("Title") == COMPARE_EQUAL ) + return FALSE; + try { if ( pImp->m_pContent ) |