summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/workben/wmffuzzer.cxx3
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);
}