Kaydet (Commit) c6056a8f authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Stopgap measure to fix compilation error on Windows

Somehow <windows.h> gets included here and it #defines GetMetaFile as
GetMetaFileA. Undo that.

Change-Id: Ia99c077ef7b3f845efabaf286f12e2688fe4a132
üst 0de4f894
...@@ -1098,6 +1098,10 @@ GDIMetaFile SdrGrafObj::getMetafileFromEmbeddedVectorGraphicData() const ...@@ -1098,6 +1098,10 @@ GDIMetaFile SdrGrafObj::getMetafileFromEmbeddedVectorGraphicData() const
return aRetval; return aRetval;
} }
#ifdef _WIN32
#undef GetMetaFile
#endif
GDIMetaFile SdrGrafObj::GetMetaFile(GraphicType &rGraphicType) const GDIMetaFile SdrGrafObj::GetMetaFile(GraphicType &rGraphicType) const
{ {
if (isEmbeddedVectorGraphicData()) if (isEmbeddedVectorGraphicData())
......
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