diff options
author | Jacek Fraczek <fraczek.jacek@gmail.com> | 2016-10-12 20:04:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-10-18 09:27:56 +0000 |
commit | 398d641664baa6eaeb34789f0aebfd21e73edef3 (patch) | |
tree | f3185bdf569f8c9454e832cc8d7f08ce75f033a2 /starmath | |
parent | c5c24f2035ef5941e83f7f0b15cb000f806983cd (diff) |
tdf#89307: Removed T* SvRef::opeartor &()
Usage has been replaced with SvRef::get() or removed where applicable.
Change-Id: I49f108910b668466134c40940b53fc3ab2acd816
Reviewed-on: https://gerrit.libreoffice.org/29780
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/eqnolefilehdr.cxx | 2 | ||||
-rw-r--r-- | starmath/source/mathtype.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/eqnolefilehdr.cxx b/starmath/source/eqnolefilehdr.cxx index 3cac2b3584f7..5ffc66e68a2f 100644 --- a/starmath/source/eqnolefilehdr.cxx +++ b/starmath/source/eqnolefilehdr.cxx @@ -34,7 +34,7 @@ bool GetMathTypeVersion( SotStorage* pStor, sal_uInt8 &nVersion ) StreamMode::STD_READ); if ( (!xSrc.Is()) || (SVSTREAM_OK != xSrc->GetError())) return bSuccess; - SotStorageStream *pS = &xSrc; + SotStorageStream *pS = xSrc.get(); pS->SetEndian( SvStreamEndian::LITTLE ); EQNOLEFILEHDR aHdr; diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 05af492aedec..1e107158b9df 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -560,7 +560,7 @@ bool MathType::Parse(SotStorage *pStor) StreamMode::STD_READ); if ( (!xSrc.Is()) || (SVSTREAM_OK != xSrc->GetError())) return false; - pS = &xSrc; + pS = xSrc.get(); pS->SetEndian( SvStreamEndian::LITTLE ); EQNOLEFILEHDR aHdr; @@ -1921,7 +1921,7 @@ bool MathType::ConvertFromStarMath( SfxMedium& rMedium ) if ( (!xSrc.Is()) || (SVSTREAM_OK != xSrc->GetError())) return false; - pS = &xSrc; + pS = xSrc.get(); pS->SetEndian( SvStreamEndian::LITTLE ); pS->SeekRel(EQNOLEFILEHDR_SIZE); //Skip 28byte Header and fill it in later |