diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-03-30 22:26:13 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-03-30 22:41:49 +0200 |
commit | a6f0f4156e1484f9ee2566b814fd0c18b88d94d3 (patch) | |
tree | 9ff9cbfc725573a92d3f8c79bd2ead999a76067d /sot/source/sdstor | |
parent | b3e52299c91d7f2ef16280fa2a0f5c4c6be37f6e (diff) |
sot: convert that to SAL_INFO
Change-Id: Iaf2de623c0893b0f500d54ce6558bf40af6e655b
Diffstat (limited to 'sot/source/sdstor')
-rw-r--r-- | sot/source/sdstor/stgdir.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 |