wizards/com/sun/star/wizards/text/TextDocument.py | 1 + 1 file changed, 1 insertion(+)
New commits: commit bcb2be2b846d99e3e21cfdc88a1395c842fa435e Author: Michael Stahl <[email protected]> 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/17513 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> 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 [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
