15 lines
640 B
Diff
15 lines
640 B
Diff
|
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<GooString*>(&familyName)->cmp(
|
||
|
const_cast<GooString*>(&rFont.familyName))==0 &&
|
||
|
isEmbedded == rFont.isEmbedded &&
|
||
|
isBold == rFont.isBold &&
|
||
|
|