diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-08-04 23:03:05 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-08-04 23:50:54 +0200 |
commit | c1617b8d74b5e232efeec864241ada89f874fe63 (patch) | |
tree | 33937d42c9ec55131e3dcb36f80e4ed588bbd4a4 /wizards | |
parent | 71dbc4acd0d7ec9fd42a289514435457c5bc462c (diff) |
wizards: text.TextDocument.getPageCount called as class method only
Change-Id: I9888f8ab7bccdd2902d619487279999f2ff9ab13
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/text/TextDocument.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/text/TextDocument.py b/wizards/com/sun/star/wizards/text/TextDocument.py index b52f885fedd1..3119b16f2297 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() |