Commit 4ea2e879 authored by Albert Astals Cid's avatar Albert Astals Cid Committed by Albert Astals Cid

[cpp] simplify the initialization of poppler::font_info_private.ref and .emb_ref

parent 60400514
......@@ -48,10 +48,8 @@ public:
font_file = fi->getFile()->c_str();
}
ref.num = fi->getRef().num;
ref.gen = fi->getRef().gen;
emb_ref.num = fi->getEmbRef().num;
emb_ref.gen = fi->getEmbRef().gen;
ref = fi->getRef();
emb_ref = fi->getEmbRef();
}
std::string font_name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment