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

Success is no reason to be scared

Change-Id: If7ad24bf1f7442e86d424188bd78f332b1a351ff
üst 6c646312
...@@ -262,7 +262,7 @@ namespace ...@@ -262,7 +262,7 @@ namespace
// to the already saved binary, since they have the same hash value // to the already saved binary, since they have the same hash value
if( eStatus == osl::FileBase::E_EXIST ) if( eStatus == osl::FileBase::E_EXIST )
{ {
SAL_WARN( "vcl.opengl", SAL_INFO( "vcl.opengl",
"No binary program saved. A file with the same hash already exists: '" << rBinaryFileName << "'" ); "No binary program saved. A file with the same hash already exists: '" << rBinaryFileName << "'" );
return true; return true;
} }
...@@ -289,7 +289,7 @@ namespace ...@@ -289,7 +289,7 @@ namespace
sal_uInt64 nBytesRead = 0; sal_uInt64 nBytesRead = 0;
aFile.read( rBinary.data(), nSize, nBytesRead ); aFile.read( rBinary.data(), nSize, nBytesRead );
assert( nSize == nBytesRead ); assert( nSize == nBytesRead );
SAL_WARN("vcl.opengl", "Loading file: '" << rBinaryFileName << "': success" ); SAL_INFO("vcl.opengl", "Loading file: '" << rBinaryFileName << "': success" );
return true; return true;
} }
else else
...@@ -363,7 +363,7 @@ namespace ...@@ -363,7 +363,7 @@ namespace
if( !writeProgramBinary( rBinaryFileName, aBinary ) ) if( !writeProgramBinary( rBinaryFileName, aBinary ) )
SAL_WARN("vcl.opengl", "Writing binary file '" << rBinaryFileName << "': FAIL"); SAL_WARN("vcl.opengl", "Writing binary file '" << rBinaryFileName << "': FAIL");
else else
SAL_WARN("vcl.opengl", "Writing binary file '" << rBinaryFileName << "': success"); SAL_INFO("vcl.opengl", "Writing binary file '" << rBinaryFileName << "': success");
} }
} }
......
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