summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-10-30 08:20:14 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-04 12:30:40 -0500
commite296b3d25e7d78544d3abd87780f9680e56efa26 (patch)
tree4664d03888db1988e728a9b710001cd31b1fee23 /svx/source
parenta205b8564c9477e91a5f2507f4746b85e0c62f95 (diff)
Remove debug code. This wasn't meant to be checked in.
Change-Id: I3bd8ab784d9af295b61555a3ed775097270b90bf
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/sdr/contact/objectcontactofpageview.cxx43
1 files changed, 0 insertions, 43 deletions
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx
index 460968668fa3..390c5bd2d602 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();