summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/graphhelp.hxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-12-05 11:35:57 +0100
committerLuboš Luňák <l.lunak@collabora.com>2021-12-05 18:35:47 +0100
commit1ceb4f36a7cabe7a0fb2b0c2e36079389d6a69b2 (patch)
tree862b67549d4804f79c346b0f9f2011340ca9d22a /sfx2/source/doc/graphhelp.hxx
parent19c8404ff66e259787ec28e067c2a5828b7df3be (diff)
generate a thumbnail to save without a metafile
This is similar to 59cca1a28df4cdc94450d68cc1e247a8fb5ff6f3, if the wanted result is a bitmap, there's not much point first converting to metafile and then to a bitmap. Change-Id: I594e1e47bc499acf42f6a551f4114091dcf75b15 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126375 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sfx2/source/doc/graphhelp.hxx')
-rw-r--r--sfx2/source/doc/graphhelp.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/graphhelp.hxx b/sfx2/source/doc/graphhelp.hxx
index e0129c917b1e..1945661fc12f 100644
--- a/sfx2/source/doc/graphhelp.hxx
+++ b/sfx2/source/doc/graphhelp.hxx
@@ -53,8 +53,8 @@ public:
#endif
}
- static bool getThumbnailFormatFromGDI_Impl(
- GDIMetaFile const * pMetaFile,
+ static bool getThumbnailFormatFromBitmap_Impl(
+ const BitmapEx& rBitmap,
const css::uno::Reference< css::io::XStream >& xStream );
static OUString getThumbnailReplacementIDByFactoryName_Impl(