From 2b8f4cf1523cfa9c508b5f85f32090d1559ad04a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 11 Dec 2016 20:48:49 +0000 Subject: wmffuzzer fix url Change-Id: I3861a04a02a17113d25c0fd065f8870b0ef020ca --- vcl/workben/wmffuzzer.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vcl/workben/wmffuzzer.cxx') diff --git a/vcl/workben/wmffuzzer.cxx b/vcl/workben/wmffuzzer.cxx index b9b44b639d33..38ae528d88ac 100644 --- a/vcl/workben/wmffuzzer.cxx +++ b/vcl/workben/wmffuzzer.cxx @@ -31,7 +31,7 @@ namespace { void setFontConfigConf() { - osl::File aFontConfig("file::///tmp/wmffuzzerfonts.conf"); + osl::File aFontConfig("file:///tmp/wmffuzzerfonts.conf"); if (aFontConfig.open(osl_File_OpenFlag_Create | osl_File_OpenFlag_Write) == osl::File::E_None) { OUString uri; @@ -52,6 +52,7 @@ namespace rtl::OString aConf = aBuffer.makeStringAndClear(); sal_uInt64 aBytesWritten; aFontConfig.write(aConf.getStr(), aConf.getLength(), aBytesWritten); + assert(aBytesWritten == aConf.getLength()); } setenv("FONTCONFIG_FILE", "/tmp/wmffuzzerfonts.conf", 0); } -- cgit v1.2.3