summaryrefslogtreecommitdiff
path: root/include/canvas/base/bufferedgraphicdevicebase.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/canvas/base/bufferedgraphicdevicebase.hxx')
-rw-r--r--include/canvas/base/bufferedgraphicdevicebase.hxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/canvas/base/bufferedgraphicdevicebase.hxx b/include/canvas/base/bufferedgraphicdevicebase.hxx
index 108bef64063e..102f0482f434 100644
--- a/include/canvas/base/bufferedgraphicdevicebase.hxx
+++ b/include/canvas/base/bufferedgraphicdevicebase.hxx
@@ -105,16 +105,11 @@ namespace canvas
{
tools::verifyRange( nBuffers, (sal_Int32)1 );
- MutexType aGuard( BaseType::m_aMutex );
-
- return BaseType::maDeviceHelper.createBuffers( nBuffers );
+ return 1;
}
virtual void SAL_CALL destroyBuffers( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE
{
- MutexType aGuard( BaseType::m_aMutex );
-
- BaseType::maDeviceHelper.destroyBuffers();
}
virtual sal_Bool SAL_CALL showBuffer( sal_Bool bUpdateAll )