summaryrefslogtreecommitdiff
path: root/sc/source/filter/xcl97
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:46:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:46:17 +0200
commit103bc8ff3ce9df931508a172a140afdfb7af2577 (patch)
tree71c1edbd40131c0d3d97a6c34dcffeafb6e4870f /sc/source/filter/xcl97
parentd1d67644164f57c07ffb3355e3279326866613a2 (diff)
loplugin:defaultparams
Change-Id: If189c1e4254ae00725ec76a5ca6354d24df2d351
Diffstat (limited to 'sc/source/filter/xcl97')
-rw-r--r--sc/source/filter/xcl97/XclImpChangeTrack.cxx2
-rw-r--r--sc/source/filter/xcl97/xcl97rec.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/filter/xcl97/XclImpChangeTrack.cxx b/sc/source/filter/xcl97/XclImpChangeTrack.cxx
index 0dd38ebeb36c..06c41e0bd473 100644
--- a/sc/source/filter/xcl97/XclImpChangeTrack.cxx
+++ b/sc/source/filter/xcl97/XclImpChangeTrack.cxx
@@ -211,7 +211,7 @@ void XclImpChangeTrack::ReadFormula( ScTokenArray*& rpTokenArray, const ScAddres
// read the formula, 3D tab refs from extended data
const ScTokenArray* pArray = NULL;
aFmlConv.Reset( rPosition );
- bool bOK = (aFmlConv.Convert( pArray, aFmlaStrm, nFmlSize, false, FT_CellFormula) == ConvOK); // JEG : Check This
+ bool bOK = (aFmlConv.Convert( pArray, aFmlaStrm, nFmlSize, false ) == ConvOK); // JEG : Check This
rpTokenArray = (bOK && pArray) ? new ScTokenArray( *pArray ) : NULL;
pStrm->Ignore( 1 );
}
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index 904ce237c57f..70240646d7bf 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -892,8 +892,7 @@ void XclObjOle::WriteSubRecs( XclExpStream& rStrm )
sal_uInt32 nPictureId = sal_uInt32(sal_uIntPtr(this) >> 2);
sprintf( aBuf, "%08X", static_cast< unsigned int >( nPictureId ) );
aStorageName += OUString::createFromAscii(aBuf);
- tools::SvRef<SotStorage> xOleStg = pRootStorage->OpenSotStorage( aStorageName,
- STREAM_READWRITE| StreamMode::SHARE_DENYALL );
+ tools::SvRef<SotStorage> xOleStg = pRootStorage->OpenSotStorage( aStorageName );
if( xOleStg.Is() )
{
uno::Reference < embed::XEmbeddedObject > xObj( static_cast<const SdrOle2Obj&>(rOleObj).GetObjRef() );