diff --git a/core/page.cpp b/core/page.cpp index cf2f38099..82e4b46a6 100644 --- a/core/page.cpp +++ b/core/page.cpp @@ -344,7 +344,7 @@ const PageTransition * Page::transition() const return d->m_transition; } -const QLinkedList< Annotation* > Page::annotations() const +QLinkedList< Annotation* > Page::annotations() const { return m_annotations; } @@ -364,7 +364,7 @@ const Action * Page::pageAction( PageAction action ) const return 0; } -const QLinkedList< FormField * > Page::formFields() const +QLinkedList< FormField * > Page::formFields() const { return d->formfields; } diff --git a/core/page.h b/core/page.h index 8e96b052a..07a5d61b2 100644 --- a/core/page.h +++ b/core/page.h @@ -180,7 +180,7 @@ class OKULAR_EXPORT Page /** * Returns the list of annotations of the page. */ - const QLinkedList< Annotation* > annotations() const; + QLinkedList< Annotation* > annotations() const; /** * Returns the @ref Action object which is associated with the given page @p action @@ -191,7 +191,7 @@ class OKULAR_EXPORT Page /** * Returns the list of FormField of the page. */ - const QLinkedList< FormField * > formFields() const; + QLinkedList< FormField * > formFields() const; /** * Sets the @p pixmap for the observer with the given @p id.