CVS_SILENT Page: disabled debug save timing, Annots: typos

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405144
remotes/origin/kpdf-annotations
Enrico Ros 21 years ago
parent f75b4247d0
commit 25d25604d4
  1. 2
      core/annotations.h
  2. 4
      core/page.cpp

@ -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

@ -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;

Loading…
Cancel
Save