Kaydet (Commit) e27acba7 authored tarafından Michael Stahl's avatar Michael Stahl Kaydeden (comit) Andras Timar

wizards: text.TextDocument.getPageCount called as class method only

Change-Id: I9888f8ab7bccdd2902d619487279999f2ff9ab13
(cherry picked from commit c1617b8d)
Reviewed-on: https://gerrit.libreoffice.org/17513Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 96134109
......@@ -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()
......
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