Kaydet (Commit) 0f32a281 authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS tkr12 (1.95.4); FILE MERGED

2008/04/23 10:04:07 tkr 1.95.4.1: #i88446# file rename crashes
üst 1d0ea9c7
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite * OpenOffice.org - a multi-platform office productivity suite
* *
* $RCSfile: shell.cxx,v $ * $RCSfile: shell.cxx,v $
* $Revision: 1.95 $ * $Revision: 1.96 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
...@@ -1126,6 +1126,12 @@ shell::move( sal_Int32 CommandId, ...@@ -1126,6 +1126,12 @@ shell::move( sal_Int32 CommandId,
const sal_Int32 NameClash ) const sal_Int32 NameClash )
throw() throw()
{ {
// --> #i88446# Method notifyContentExchanged( getContentExchangedEventListeners( srcUnqPath,dstUnqPath,!isDocument ) ); crashes if
// srcUnqPath and dstUnqPathIn are equal
if( srcUnqPath == dstUnqPathIn )
return;
// <--
osl::FileBase::RC nError; osl::FileBase::RC nError;
rtl::OUString dstUnqPath( dstUnqPathIn ); rtl::OUString dstUnqPath( dstUnqPathIn );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment