summaryrefslogtreecommitdiff
path: root/oox/source/xls/biffdetector.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/xls/biffdetector.cxx')
-rw-r--r--oox/source/xls/biffdetector.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/xls/biffdetector.cxx b/oox/source/xls/biffdetector.cxx
index 82c7cb822d83..fc3e1e710bcb 100644
--- a/oox/source/xls/biffdetector.cxx
+++ b/oox/source/xls/biffdetector.cxx
@@ -31,7 +31,7 @@
#include <com/sun/star/io/XInputStream.hpp>
#include <comphelper/mediadescriptor.hxx>
#include "oox/helper/binaryinputstream.hxx"
-#include "oox/helper/olestorage.hxx"
+#include "oox/ole/olestorage.hxx"
using ::rtl::OUString;
using ::rtl::OStringBuffer;
@@ -85,7 +85,7 @@ BiffType BiffDetector::detectStreamBiffVersion( BinaryInputStream& rInStream )
if( !rInStream.isEof() && rInStream.isSeekable() && (rInStream.getLength() > 4) )
{
sal_Int64 nOldPos = rInStream.tell();
- rInStream.seek( 0 );
+ rInStream.seekToStart();
sal_uInt16 nBofId, nBofSize;
rInStream >> nBofId >> nBofSize;
@@ -211,7 +211,7 @@ OUString SAL_CALL BiffDetector::detect( Sequence< PropertyValue >& rDescriptor )
if( xInStrm.is() )
{
OUString aWorkbookName;
- StorageRef xStorage( new OleStorage( mxFactory, xInStrm, true ) );
+ StorageRef xStorage( new ::oox::ole::OleStorage( mxFactory, xInStrm, true ) );
switch( detectStorageBiffVersion( aWorkbookName, xStorage ) )
{
case BIFF2: