Commit a6c0f7d4 authored by Pino Toscano's avatar Pino Toscano

it makes no sense having a returned type for the base Annotation class (that...

it makes no sense having a returned type for the base Annotation class (that can not be instanced directly)

svn path=/trunk/KDE/kdegraphics/okular/; revision=691107
parent aa8155f8
......@@ -660,11 +660,6 @@ void Annotation::translate( const NormalizedPoint &coord )
}
}
Annotation::SubType Annotation::subType() const
{
return A_BASE;
}
Annotation::Style & Annotation::style()
{
Q_D( Annotation );
......
......@@ -566,7 +566,7 @@ class OKULAR_EXPORT Annotation
/**
* Returns the sub type of the annotation.
*/
virtual SubType subType() const;
virtual SubType subType() const = 0;
/**
* Stores the annotation as xml in @p document under the given parent @p node.
......
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