diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-11 20:48:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-11 20:49:10 +0000 |
commit | 2b8f4cf1523cfa9c508b5f85f32090d1559ad04a (patch) | |
tree | 2ed3975d2ed2be53e27cf969a3dc4afaff95275e /vcl/workben | |
parent | 8c7315b94f970abdb66e1a79c4143dd59d45eacf (diff) |
wmffuzzer fix url
Change-Id: I3861a04a02a17113d25c0fd065f8870b0ef020ca
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/wmffuzzer.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |