diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-24 12:24:32 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-01-24 15:43:22 +0100 |
commit | 8be66091da0f1a08d986573676bea5b64dca286c (patch) | |
tree | 5851d095ec2ada0a0751fda214b8cd076d12b729 /sc/source/ui | |
parent | 0bcfeed0001ccb03c7697bff72edbb58946f5c41 (diff) |
Remove DEBUG_CHANGETRACK.
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/docshell/docsh3.cxx | 23 |
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 ); } |