summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-24 12:24:32 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-24 15:43:22 +0100
commit8be66091da0f1a08d986573676bea5b64dca286c (patch)
tree5851d095ec2ada0a0751fda214b8cd076d12b729 /sc/source/ui
parent0bcfeed0001ccb03c7697bff72edbb58946f5c41 (diff)
Remove DEBUG_CHANGETRACK.
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/docshell/docsh3.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 133a5d889468..f3c7ae9a1033 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -80,11 +80,6 @@
#include "conflictsdlg.hxx"
#include "globstr.hrc"
-#if DEBUG_CHANGETRACK
-#include <stdio.h>
-#endif // DEBUG_CHANGETRACK
-
-
//------------------------------------------------------------------
//
@@ -1219,15 +1214,6 @@ bool ScDocShell::MergeSharedDocument( ScDocShell* pSharedDocShell )
return false;
}
-#if DEBUG_CHANGETRACK
- ::rtl::OUString aMessage(RTL_CONSTASCII_USTRINGPARAM( "\nbefore merge:\n" ));
- aMessage += pThisTrack->ToString();
- ::rtl::OString aMsg = ::rtl::OUStringToOString( aMessage, RTL_TEXTENCODING_UTF8 );
- OSL_ENSURE( false, aMsg.getStr() );
- //fprintf( stdout, "%s ", aMsg.getStr() );
- //fflush( stdout );
-#endif // DEBUG_CHANGETRACK
-
// reset show changes
ScChangeViewSettings aChangeViewSet;
aChangeViewSet.SetShowChanges( FALSE );
@@ -1396,15 +1382,6 @@ bool ScDocShell::MergeSharedDocument( ScDocShell* pSharedDocShell )
aInfoBox.Execute();
}
-#if DEBUG_CHANGETRACK
- aMessage = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "\nafter merge:\n" ));
- aMessage += pThisTrack->ToString();
- aMsg = ::rtl::OUStringToOString( aMessage, RTL_TEXTENCODING_UTF8 );
- OSL_ENSURE( false, aMsg.getStr() );
- //fprintf( stdout, "%s ", aMsg.getStr() );
- //fflush( stdout );
-#endif // DEBUG_CHANGETRACK
-
return ( pThisAction != NULL );
}