From a6f0f4156e1484f9ee2566b814fd0c18b88d94d3 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Sun, 30 Mar 2014 22:26:13 +0200 Subject: sot: convert that to SAL_INFO Change-Id: Iaf2de623c0893b0f500d54ce6558bf40af6e655b --- sot/source/sdstor/stgdir.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sot') diff --git a/sot/source/sdstor/stgdir.cxx b/sot/source/sdstor/stgdir.cxx index c02786770c4b..6aed09b970ea 100644 --- a/sot/source/sdstor/stgdir.cxx +++ b/sot/source/sdstor/stgdir.cxx @@ -416,7 +416,8 @@ sal_Int32 StgDirEntry::Seek( sal_Int32 nNew ) { if ( !( nMode & STREAM_WRITE ) || !SetSize( nNew ) ) { - OSL_ENSURE( nMode & STREAM_WRITE, "Trying to resize readonly stream by seeking, could be a wrong offset!" ); + SAL_WARN_IF(!(nMode & STREAM_WRITE), "sot", + "Trying to resize readonly stream by seeking, could be a wrong offset: " << nNew); return nPos; } else -- cgit v1.2.3