diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx index cc64db4..d2602c1 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx @@ -114,7 +114,7 @@ namespace pdfi bool operator==(const FontAttributes& rFont) const { - return familyName.cmp( + return const_cast(&familyName)->cmp( const_cast(&rFont.familyName))==0 && isEmbedded == rFont.isEmbedded && isBold == rFont.isBold &&