From df91ed8bb8c61fc7c8cfc0f09604329b4723f538 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 14 Sep 2015 12:50:48 +0200 Subject: vcl::ITiledRenderable: add getCurrentViewShell() and implement it for Writer Change-Id: Ic936746f3d473e15f5a1589cba35173778b442c6 (cherry picked from commit 7b0de91faaaf9a051e082ec7ea5024474f4a1299) --- include/vcl/ITiledRenderable.hxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/vcl') diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx index d212519bc9be..6a573bcabbeb 100644 --- a/include/vcl/ITiledRenderable.hxx +++ b/include/vcl/ITiledRenderable.hxx @@ -16,6 +16,8 @@ #include #include +class SfxViewShell; + namespace vcl { @@ -139,8 +141,16 @@ public: * @see lok::Document::resetSelection(). */ virtual void resetSelection() = 0; + + /// Get the currently active view shell of the document. + virtual SfxViewShell* getCurrentViewShell() + { + return 0; + } }; } // namespace vcl #endif // INCLUDED_VCL_ITILEDRENDERABLE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit