Commit 25d25604 authored by Enrico Ros's avatar Enrico Ros
Browse files

CVS_SILENT Page: disabled debug save timing, Annots: typos

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405144
parent f75b4247
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment