summaryrefslogtreecommitdiff
path: root/include/sfx2/lokhelper.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-09-16 14:14:04 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-09-21 07:30:21 +0200
commita04b31c9facb08a8e38b79480b9a73bd2693cb9e (patch)
treead4b216e799831834a12da24b642e6b2d39d491e /include/sfx2/lokhelper.hxx
parentf2e55ea10676d14c6564696a0648c0edbe4bd36d (diff)
LOK: make getViews() be a member function of Document
Just to be consistent, as all other view-related member functions are there, too. No real impact, as only the unit test uses this so far, and it always works with a single document. Change-Id: I46f1ed8265ab95017986ab45c1b510e961192241
Diffstat (limited to 'include/sfx2/lokhelper.hxx')
-rw-r--r--include/sfx2/lokhelper.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/sfx2/lokhelper.hxx b/include/sfx2/lokhelper.hxx
index 50516227e992..99f2076eeea1 100644
--- a/include/sfx2/lokhelper.hxx
+++ b/include/sfx2/lokhelper.hxx
@@ -25,9 +25,8 @@ public:
static void setView(size_t nId);
/// Get the currently active view.
static size_t getView();
-
- /// Total number of view shells.
- static int getViews();
+ /// Get the number of views of the current object shell.
+ static size_t getViews();
};
#endif