summaryrefslogtreecommitdiffstats
path: root/vcl/source/filter/png/PngImageReader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter/png/PngImageReader.cxx')
-rw-r--r--vcl/source/filter/png/PngImageReader.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/filter/png/PngImageReader.cxx b/vcl/source/filter/png/PngImageReader.cxx
index 6631c238629e..56945e9d9c4b 100644
--- a/vcl/source/filter/png/PngImageReader.cxx
+++ b/vcl/source/filter/png/PngImageReader.cxx
@@ -97,8 +97,7 @@ bool reader(SvStream& rStream, BitmapEx& rBitmapEx,
BitmapScopedWriteAccess pWriteAccessInstance;
AlphaScopedWriteAccess pWriteAccessAlphaInstance;
std::vector<std::vector<png_byte>> aRows;
- auto pBackendCapabilities = ImplGetSVData()->mpDefInst->GetBackendCapabilities();
- const bool bSupportsBitmap32 = pBackendCapabilities->mbSupportsBitmap32;
+ const bool bSupportsBitmap32 = ImplGetSVData()->mpDefInst->supportsBitmap32();
const bool bOnlyCreateBitmap
= static_cast<bool>(nImportFlags & GraphicFilterImportFlags::OnlyCreateBitmap);
const bool bUseExistingBitmap