From 25d25604d4c40681641fc453f811c4e9877afb69 Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Tue, 12 Apr 2005 20:27:40 +0000 Subject: [PATCH] CVS_SILENT Page: disabled debug save timing, Annots: typos svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405144 --- core/annotations.h | 2 +- core/page.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/annotations.h b/core/annotations.h index 6c95b2af0..b457288ca 100644 --- a/core/annotations.h +++ b/core/annotations.h @@ -208,7 +208,7 @@ struct HighlightAnnotation : public Annotation AN_COMMONDECL( HighlightAnnotation, AHighlight ) // local enums - enum HighlightType { Highlight, Underline, Squiggly, StrikeOut }; + enum HighlightType { Highlight, Squiggly, Underline, StrikeOut }; // data fields HighlightType highlightType; // Highlight diff --git a/core/page.cpp b/core/page.cpp index 612f6dffc..9a847372c 100644 --- a/core/page.cpp +++ b/core/page.cpp @@ -401,7 +401,7 @@ void KPDFPage::saveLocalContents( QDomNode & parentNode, QDomDocument & document // add annotations info if has got any if ( !m_annotations.isEmpty() ) { -#if 1 +#if 0 struct timeval ts, te; gettimeofday( &ts, NULL ); #endif @@ -427,7 +427,7 @@ void KPDFPage::saveLocalContents( QDomNode & parentNode, QDomDocument & document // append the annotationList element if annotations have been set if ( annotListElement.hasChildNodes() ) pageElement.appendChild( annotListElement ); -#if 1 +#if 0 gettimeofday( &te, NULL ); double startTime = (double)ts.tv_sec + ((double)ts.tv_usec) / 1000000.0; double endTime = (double)te.tv_sec + ((double)te.tv_usec) / 1000000.0;