Author: pfg Date: Mon Nov 30 05:50:16 2015 New Revision: 1717188 URL: http://svn.apache.org/viewvc?rev=1717188&view=rev Log: Fix mismatch in r1717119
Modified: openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx Modified: openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx?rev=1717188&r1=1717187&r2=1717188&view=diff ============================================================================== --- openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx (original) +++ openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx Mon Nov 30 05:50:16 2015 @@ -394,7 +394,7 @@ int StreamToFile(TrueTypeCreator *_this, FILE* fd; if ((r = StreamToMemory(_this, &ptr, &length)) != SF_OK) return r; - if ((!fname) || (fd = fopen(fname, "wb")) == NULL)) { + if ((!fname) || ((fd = fopen(fname, "wb")) == NULL)) { free(ptr); return SF_BADFILE; }