summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 adb6153f5ad5..501121501c06 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 );