axbinaryreader.cxx (ca5ec200) axbinaryreader.cxx (729e7e85)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 217 unchanged lines hidden (view full) ---

226{
227 sal_Int64 nEndPos = rInStrm.tell() + mnSize;
228 while( rInStrm.tell() < nEndPos )
229 {
230 OUString aString;
231 if( !lclReadString( rInStrm, aString, rInStrm.readuInt32(), true ) )
232 return false;
233 mrArray.push_back( aString );
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 217 unchanged lines hidden (view full) ---

226{
227 sal_Int64 nEndPos = rInStrm.tell() + mnSize;
228 while( rInStrm.tell() < nEndPos )
229 {
230 OUString aString;
231 if( !lclReadString( rInStrm, aString, rInStrm.readuInt32(), true ) )
232 return false;
233 mrArray.push_back( aString );
234 // every array string is aligned on 4 byte boundries
234 // every array string is aligned on 4 byte boundaries
235 rInStrm.align( 4 );
236 }
237 return true;
238}
239
240bool AxBinaryPropertyReader::GuidProperty::readProperty( AxAlignedInputStream& rInStrm )
241{
242 mrGuid = OleHelper::importGuid( rInStrm );

--- 127 unchanged lines hidden ---
235 rInStrm.align( 4 );
236 }
237 return true;
238}
239
240bool AxBinaryPropertyReader::GuidProperty::readProperty( AxAlignedInputStream& rInStrm )
241{
242 mrGuid = OleHelper::importGuid( rInStrm );

--- 127 unchanged lines hidden ---