summaryrefslogtreecommitdiff
path: root/include/sfx2/lokhelper.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-09-16 10:15:31 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-09-16 12:36:28 +0200
commitdc00592b4e48a111efc6ff78bdbf7af998e58e22 (patch)
tree8ed83a15626e4f79db23da9d584f478dfe3f604f /include/sfx2/lokhelper.hxx
parentef7abe81df10cb8a8c04afbb1fbe700f94e73f04 (diff)
lok::Document: rename getViews() to getViewsCount()
As this only returns the number of views, not the actual views. Since it's a rename, it's just an API (but not an ABI) change. Change-Id: Ib4f0ea56a90e5ae9c80ee1781aa2f29aff4259e7
Diffstat (limited to 'include/sfx2/lokhelper.hxx')
-rw-r--r--include/sfx2/lokhelper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/lokhelper.hxx b/include/sfx2/lokhelper.hxx
index 852aa79af058..7460377fd3ba 100644
--- a/include/sfx2/lokhelper.hxx
+++ b/include/sfx2/lokhelper.hxx
@@ -28,7 +28,7 @@ public:
/// Get the currently active view.
static int getView(SfxViewShell* pViewShell = nullptr);
/// Get the number of views of the current object shell.
- static std::size_t getViews();
+ static std::size_t getViewsCount();
/// Invoke the LOK callback of all views except pThisView, with a payload of rKey-rPayload.
static void notifyOtherViews(SfxViewShell* pThisView, int nType, const OString& rKey, const OString& rPayload);