summaryrefslogtreecommitdiff
path: root/ucb/source/ucp
diff options
context:
space:
mode:
authorAndreas Bille <abi@openoffice.org>2001-02-02 15:53:39 +0000
committerAndreas Bille <abi@openoffice.org>2001-02-02 15:53:39 +0000
commit8063a0ad60274ceda0fc87fd22156f4073bb3a04 (patch)
tree00a7286a0b0dbf90d1719c6f00d97d7016312d99 /ucb/source/ucp
parent38ead345737edfa5f4761217c2c9eb81dcab4cca (diff)
#83459#
Catching unexpected exception ( 1 line )
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r--ucb/source/ucp/file/bc.cxx18
1 files changed, 12 insertions, 6 deletions
diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx
index d54d2ecf9633..4f657b898168 100644
--- a/ucb/source/ucp/file/bc.cxx
+++ b/ucb/source/ucp/file/bc.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bc.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: kso $ $Date: 2001-01-31 13:53:40 $
+ * last change: $Author: abi $ $Date: 2001-02-02 16:53:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -988,10 +988,16 @@ BaseContent::setPropertyValues(
aDstName += NewTitle;
- m_pMyShell->move( nMyCommandIdentifier, // move notifies the childs also ;
- m_aUncPath,
- aDstName,
- NameClash::KEEP );
+ try
+ {
+ m_pMyShell->move( nMyCommandIdentifier, // move notifies the childs also ;
+ m_aUncPath,
+ aDstName,
+ NameClash::KEEP );
+ }
+ catch( const CommandAbortedException& e )
+ {
+ }
}
// NameChanges come back trough a ContentEvent
//