svx/source/sdr/contact/objectcontactofpageview.cxx | 43 --------------------- 1 file changed, 43 deletions(-)
New commits: commit 3b7b6c289f7cd7b5e65cd44de6e131b24bd95b18 Author: Kohei Yoshida <kohei.yosh...@collabora.com> Date: Thu Oct 30 08:20:14 2014 -0400 Remove debug code. This wasn't meant to be checked in. Change-Id: I3bd8ab784d9af295b61555a3ed775097270b90bf diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx index c6b9f8e..f778df1 100644 --- a/svx/source/sdr/contact/objectcontactofpageview.cxx +++ b/svx/source/sdr/contact/objectcontactofpageview.cxx @@ -41,48 +41,6 @@ using namespace com::sun::star; -#include <stdio.h> -#include <string> -#include <sys/time.h> - -namespace { - -class stack_printer -{ -public: - explicit stack_printer( const char* msg ) : - msMsg(msg) - { - fprintf(stdout, "%s: --begin\n", msMsg.c_str()); - mfStartTime = getTime(); - } - - ~stack_printer() - { - double fEndTime = getTime(); - fprintf(stdout, "%s: --end (duration: %g sec)\n", msMsg.c_str(), (fEndTime - mfStartTime)); - } - - void printTime( int line ) const - { - double fEndTime = getTime(); - fprintf(stdout, "%s: --(%d) (duration: %g sec)\n", msMsg.c_str(), line, (fEndTime - mfStartTime)); - } - -private: - double getTime() const - { - timeval tv; - gettimeofday(&tv, NULL); - return tv.tv_sec + tv.tv_usec / 1000000.0; - } - - ::std::string msMsg; - double mfStartTime; -}; - -} - namespace sdr { namespace contact @@ -137,7 +95,6 @@ namespace sdr // From baseclass Timer, the timeout call triggered by the LazyInvalidate mechanism void ObjectContactOfPageView::Timeout() { - stack_printer __stack_printer__( "sdr/contact/ObjectContactOfPageView::Timeout" ); // stop the timer Stop(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits