wizards/com/sun/star/wizards/text/TextDocument.py |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1aed837f7d105881db54b4e707c26ac4da304c84
Author: Michael Stahl <mst...@redhat.com>
Date:   Tue Aug 4 23:03:05 2015 +0200

    wizards: text.TextDocument.getPageCount called as class method only
    
    Change-Id: I9888f8ab7bccdd2902d619487279999f2ff9ab13
    (cherry picked from commit c1617b8d74b5e232efeec864241ada89f874fe63)
    Reviewed-on: https://gerrit.libreoffice.org/17516
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/wizards/com/sun/star/wizards/text/TextDocument.py 
b/wizards/com/sun/star/wizards/text/TextDocument.py
index b52f885..3119b16 100644
--- a/wizards/com/sun/star/wizards/text/TextDocument.py
+++ b/wizards/com/sun/star/wizards/text/TextDocument.py
@@ -211,6 +211,7 @@ class TextDocument(object):
     @return the page count of the document.
     '''
 
+    @classmethod
     def getPageCount(self, model):
         xController = model.getCurrentController()
         xPC = xController.getViewCursor()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to