diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-14 12:50:48 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-21 07:30:11 +0200 |
commit | 7b0de91faaaf9a051e082ec7ea5024474f4a1299 (patch) | |
tree | 75f59cfb775450e4114d0bcfd03c4c2524e98861 /include | |
parent | e13510cf2c54f85379fa959296a8ccf7a8cd5cb7 (diff) |
vcl::ITiledRenderable: add getCurrentViewShell() and implement it for Writer
Change-Id: Ic936746f3d473e15f5a1589cba35173778b442c6
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/ITiledRenderable.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx index 8824361f9f70..a31d808437af 100644 --- a/include/vcl/ITiledRenderable.hxx +++ b/include/vcl/ITiledRenderable.hxx @@ -16,6 +16,8 @@ #include <tools/gen.hxx> #include <vcl/virdev.hxx> +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: */ |