Kaydet (Commit) cb045089 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add a default dummy implementation of SalVirtualDevice::SetSizeUsingBuffer()

Change-Id: Ib1d98173f2dd29a59ce49bbe93ff563d5bb913a0
üst ff719cd8
...@@ -54,7 +54,11 @@ public: // public for Sal Implementation ...@@ -54,7 +54,11 @@ public: // public for Sal Implementation
virtual sal_Bool SetSize( long nNewDX, long nNewDY ) = 0; virtual sal_Bool SetSize( long nNewDX, long nNewDY ) = 0;
// Set new size using a buffer at the given address // Set new size using a buffer at the given address
virtual sal_Bool SetSizeUsingBuffer( long nNewDX, long nNewDY, const basebmp::RawMemorySharedArray &pBuffer ) = 0; virtual sal_Bool SetSizeUsingBuffer( long nNewDX, long nNewDY, const basebmp::RawMemorySharedArray & /* pBuffer */ )
{
// Only the headless virtual device has an implementation that uses pBuffer.
return SetSize( nNewDX, nNewDY );
}
/// Get actual VDev size in pixel /// Get actual VDev size in pixel
virtual void GetSize( long& rWidth, long& rHeight ) = 0; virtual void GetSize( long& rWidth, long& rHeight ) = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment