summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-30 22:26:13 +0200
committerMichael Stahl <mstahl@redhat.com>2014-03-30 22:41:49 +0200
commita6f0f4156e1484f9ee2566b814fd0c18b88d94d3 (patch)
tree9ff9cbfc725573a92d3f8c79bd2ead999a76067d /sot
parentb3e52299c91d7f2ef16280fa2a0f5c4c6be37f6e (diff)
sot: convert that to SAL_INFO
Change-Id: Iaf2de623c0893b0f500d54ce6558bf40af6e655b
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgdir.cxx3
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