diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-04-14 13:01:34 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-04-14 13:01:34 +0300 |
commit | 5e80c4def467dd793d6192e2f8942bc4f637fa9e (patch) | |
tree | 76c33f98ea69c34489b17dce34fa949d4d7acd29 /svtools | |
parent | d6c542e9912eee3bff23890108a56a0863b32092 (diff) |
It's the WMF_APMFILEHEADER* parameter that needs a cast, I think
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter.vcl/filter/exportdialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/filter.vcl/filter/exportdialog.cxx b/svtools/source/filter.vcl/filter/exportdialog.cxx index 701619d31f6c..66ef0402ff15 100644 --- a/svtools/source/filter.vcl/filter/exportdialog.cxx +++ b/svtools/source/filter.vcl/filter/exportdialog.cxx @@ -521,7 +521,7 @@ Bitmap ExportDialog::GetGraphicBitmap( SvStream& rInputStream ) Bitmap aRet; Graphic aGraphic; GraphicFilter aFilter( sal_False ); - if ( aFilter.ImportGraphic( aGraphic, String(), rInputStream, GRFILTER_FORMAT_NOTFOUND, NULL, 0, NULL ) == GRFILTER_OK ) + if ( aFilter.ImportGraphic( aGraphic, String(), rInputStream, GRFILTER_FORMAT_NOTFOUND, NULL, 0, static_cast<WMF_APMFILEHEADER*>(NULL) ) == GRFILTER_OK ) { aRet = aGraphic.GetBitmap(); } |