summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-05-05 12:29:11 +0000
committerKurt Zenker <kz@openoffice.org>2008-05-05 12:29:11 +0000
commit4d903131cc4c67d65b8b8a3bc0c071f5ea016628 (patch)
tree5b8bf62352515a01e54cb65e45ab774f0805e2f3 /ucb
parent2ecc01e841f42177d645cc3e273c7164d2237db1 (diff)
INTEGRATION: CWS tkr12 (1.95.4); FILE MERGED
2008/04/23 10:04:07 tkr 1.95.4.1: #i88446# file rename crashes
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/shell.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx
index da9ed5d994..fdf9e7861b 100644
--- a/ucb/source/ucp/file/shell.cxx
+++ b/ucb/source/ucp/file/shell.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: shell.cxx,v $
- * $Revision: 1.95 $
+ * $Revision: 1.96 $
*
* This file is part of OpenOffice.org.
*
@@ -1126,6 +1126,12 @@ shell::move( sal_Int32 CommandId,
const sal_Int32 NameClash )
throw()
{
+ // --> #i88446# Method notifyContentExchanged( getContentExchangedEventListeners( srcUnqPath,dstUnqPath,!isDocument ) ); crashes if
+ // srcUnqPath and dstUnqPathIn are equal
+ if( srcUnqPath == dstUnqPathIn )
+ return;
+ // <--
+
osl::FileBase::RC nError;
rtl::OUString dstUnqPath( dstUnqPathIn );