diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-04-04 07:05:29 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-04-04 07:05:29 +0000 |
commit | d7da4bb6060a8f2de1c7c688162d36a10b60c673 (patch) | |
tree | 314a0904af37d25a74218251331edf4f9b15bef9 /starmath/source/smdetect.cxx | |
parent | 3bfafce6f625f8a94dbb4b9700f95d69740e145a (diff) |
INTEGRATION: CWS tl07 (1.5.6); FILE MERGED
2004/12/13 15:56:20 tl 1.5.6.1: #i38592# error in SmFilterDetect::detect fixed
Diffstat (limited to 'starmath/source/smdetect.cxx')
-rw-r--r-- | starmath/source/smdetect.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/smdetect.cxx b/starmath/source/smdetect.cxx index d560f08dd30d..e2a0d3ebb6ce 100644 --- a/starmath/source/smdetect.cxx +++ b/starmath/source/smdetect.cxx @@ -2,9 +2,9 @@ * * $RCSfile: smdetect.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: obo $ $Date: 2004-11-17 15:25:47 $ + * last change: $Author: rt $ $Date: 2005-04-04 08:05:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -397,8 +397,8 @@ SmFilterDetect::~SmFilterDetect() const int nSize = 5; sal_Char aBuffer[nSize+1]; aBuffer[nSize] = 0; - ULONG nBytesRead = pStrm->Read( aBuffer, nSize ); pStrm->Seek( STREAM_SEEK_TO_BEGIN ); + ULONG nBytesRead = pStrm->Read( aBuffer, nSize ); if (nBytesRead == nSize) { if (0 == strncmp( "<?xml",aBuffer,nSize)) |