diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-15 12:55:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-19 06:04:33 +0000 |
commit | f9fd6390cd88b87ca81538385da028ff5b1783c0 (patch) | |
tree | 02adaf2d5e1913fec12df2326115c125cad8dda1 /toolkit/source/awt/vclxcontainer.cxx | |
parent | 2a79ec7fe5abab9c3ba5f4f07a016dbc4287c1b8 (diff) |
ScrollableWrapper -> ScrollableDialog
no point in having a template and a virtual base class when it's only
used for one type
Change-Id: Idb1a1a551064cc10896eff33652038eb5be0297e
Reviewed-on: https://gerrit.libreoffice.org/32041
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/source/awt/vclxcontainer.cxx')
-rw-r--r-- | toolkit/source/awt/vclxcontainer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxcontainer.cxx b/toolkit/source/awt/vclxcontainer.cxx index 0bd1ecdcdf43..275ae9b06c2a 100644 --- a/toolkit/source/awt/vclxcontainer.cxx +++ b/toolkit/source/awt/vclxcontainer.cxx @@ -245,7 +245,7 @@ throw(css::uno::RuntimeException, std::exception) Size aSize( nVal, nVal ); VclPtr<vcl::Window> pWindow = GetWindow(); MapMode aMode( MapUnit::MapAppFont ); - toolkit::ScrollableInterface* pScrollable = dynamic_cast< toolkit::ScrollableInterface* >( pWindow.get() ); + toolkit::ScrollableDialog* pScrollable = dynamic_cast< toolkit::ScrollableDialog* >( pWindow.get() ); if ( pWindow && pScrollable ) { OutputDevice* pDev = VCLUnoHelper::GetOutputDevice( getGraphics() ); |