summaryrefslogtreecommitdiffstats
path: root/vcl/headless/svpinst.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-02-25 14:13:08 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-02-25 14:17:57 +0000
commit9ab611a652334a98ba7922ee6a53b61bbcc4892f (patch)
treeb12763802820f501f85148b19748538e54227e84 /vcl/headless/svpinst.cxx
parentgbuild_simple: add gb_Python and include also Tempfile here (diff)
downloadcore-9ab611a652334a98ba7922ee6a53b61bbcc4892f.tar.gz
core-9ab611a652334a98ba7922ee6a53b61bbcc4892f.zip
android: move DamageTracker concept into SvpSalFrame and try to use it
Diffstat (limited to 'vcl/headless/svpinst.cxx')
-rw-r--r--vcl/headless/svpinst.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 91bbff33de92..f0557f1cd468 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -44,6 +44,7 @@
#include <salframe.hxx>
#include <svdata.hxx>
#include <generic/gendata.hxx>
+#include <basebmp/scanlineformats.hxx>
#include <vcl/solarmutex.hxx>
// FIXME: remove when we re-work the svp mainloop
#include <unx/salunxtime.h>
@@ -182,12 +183,12 @@ bool SvpSalInstance::CheckTimeout( bool bExecuteTimers )
SalFrame* SvpSalInstance::CreateChildFrame( SystemParentData* pParent, sal_uLong nStyle )
{
- return new SvpSalFrame( this, NULL, nStyle, pParent );
+ return new SvpSalFrame( this, NULL, nStyle, false, SVP_DEFAULT_BITMAP_FORMAT, pParent );
}
SalFrame* SvpSalInstance::CreateFrame( SalFrame* pParent, sal_uLong nStyle )
{
- return new SvpSalFrame( this, pParent, nStyle );
+ return new SvpSalFrame( this, pParent, nStyle, false, SVP_DEFAULT_BITMAP_FORMAT );
}
void SvpSalInstance::DestroyFrame( SalFrame* pFrame )