diff options
author | Thorsten Behrens <thb@openoffice.org> | 2008-06-27 15:48:36 +0000 |
---|---|---|
committer | Thorsten Behrens <thb@openoffice.org> | 2008-06-27 15:48:36 +0000 |
commit | a73452e618d84d8e2ab8ac77ffdff05df1109498 (patch) | |
tree | 579482f147cc1e9aaaaa99b54aefe5bdde233102 /canvas/source/vcl | |
parent | e42918e446fc5f1e02a4fdeba8bff3a659ae0374 (diff) |
#i10000# To please SunCC, had to implement isAccelerated/getDeviceHandle on most derived device helper classes
Diffstat (limited to 'canvas/source/vcl')
-rw-r--r-- | canvas/source/vcl/spritedevicehelper.cxx | 12 | ||||
-rw-r--r-- | canvas/source/vcl/spritedevicehelper.hxx | 4 |
2 files changed, 14 insertions, 2 deletions
diff --git a/canvas/source/vcl/spritedevicehelper.cxx b/canvas/source/vcl/spritedevicehelper.cxx index ea7115b7677c..2446053c2d21 100644 --- a/canvas/source/vcl/spritedevicehelper.cxx +++ b/canvas/source/vcl/spritedevicehelper.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: spritedevicehelper.cxx,v $ - * $Revision: 1.2 $ + * $Revision: 1.3 $ * * This file is part of OpenOffice.org. * @@ -101,6 +101,16 @@ namespace vclcanvas DeviceHelper::disposing(); } + uno::Any SpriteDeviceHelper::isAccelerated() const + { + return DeviceHelper::isAccelerated(); + } + + uno::Any SpriteDeviceHelper::getDeviceHandle() const + { + return DeviceHelper::getDeviceHandle(); + } + uno::Any SpriteDeviceHelper::getSurfaceHandle() const { if( !mpBackBuffer ) diff --git a/canvas/source/vcl/spritedevicehelper.hxx b/canvas/source/vcl/spritedevicehelper.hxx index 28ed1a727893..14bdc63a4303 100644 --- a/canvas/source/vcl/spritedevicehelper.hxx +++ b/canvas/source/vcl/spritedevicehelper.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: spritedevicehelper.hxx,v $ - * $Revision: 1.2 $ + * $Revision: 1.3 $ * * This file is part of OpenOffice.org. * @@ -67,6 +67,8 @@ namespace vclcanvas ::sal_Bool showBuffer( bool bWindowVisible, ::sal_Bool bUpdateAll ); ::sal_Bool switchBuffer( bool bWindowVisible, ::sal_Bool bUpdateAll ); + ::com::sun::star::uno::Any isAccelerated() const; + ::com::sun::star::uno::Any getDeviceHandle() const; ::com::sun::star::uno::Any getSurfaceHandle() const; void dumpScreenContent() const; |