diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-06 16:28:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-07 11:05:02 +0200 |
commit | bb2174d86728a3aead640032745b1e781d7f818b (patch) | |
tree | 3e5cd53ea67a740d114eff3a0fef1acbc641120c /starmath | |
parent | cd5e167bef00f823e3d1bc3dcf82acc3820d6f6a (diff) |
Remove SvStorageStreamRef alias
Change-Id: Ic25c39adf8796bb433fa7746f53a68e3e2bfd228
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/document.hxx | 2 | ||||
-rw-r--r-- | starmath/source/eqnolefilehdr.cxx | 2 | ||||
-rw-r--r-- | starmath/source/mathtype.cxx | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index 3a052c16841c..ddc1367f9ab6 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -128,7 +128,7 @@ class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, public SfxListener virtual void OnDocumentPrinterChanged( Printer * ) SAL_OVERRIDE; virtual bool InitNew( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage ) SAL_OVERRIDE; virtual bool Load( SfxMedium& rMedium ) SAL_OVERRIDE; - void ImplSave( SvStorageStreamRef xStrm ); + void ImplSave( SotStorageStreamRef xStrm ); virtual bool Save() SAL_OVERRIDE; virtual bool SaveAs( SfxMedium& rMedium ) SAL_OVERRIDE; virtual bool ConvertTo( SfxMedium &rMedium ) SAL_OVERRIDE; diff --git a/starmath/source/eqnolefilehdr.cxx b/starmath/source/eqnolefilehdr.cxx index 744032b211a2..7f3c2aa99459 100644 --- a/starmath/source/eqnolefilehdr.cxx +++ b/starmath/source/eqnolefilehdr.cxx @@ -32,7 +32,7 @@ bool GetMathTypeVersion( SotStorage* pStor, sal_uInt8 &nVersion ) // code snippet copied from MathType::Parse - SvStorageStreamRef xSrc = pStor->OpenSotStream( + SotStorageStreamRef xSrc = pStor->OpenSotStream( OUString("Equation Native"), STREAM_STD_READ | StreamMode::NOCREATE); if ( (!xSrc.Is()) || (SVSTREAM_OK != xSrc->GetError())) diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 43aed7833610..782e0a891ed7 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -554,7 +554,7 @@ void MathType::TypeFaceToString(OUString &rTxt,sal_uInt8 nFace) int MathType::Parse(SotStorage *pStor) { - SvStorageStreamRef xSrc = pStor->OpenSotStream( + SotStorageStreamRef xSrc = pStor->OpenSotStream( OUString("Equation Native"), STREAM_STD_READ | StreamMode::NOCREATE); if ( (!xSrc.Is()) || (SVSTREAM_OK != xSrc->GetError())) @@ -1906,7 +1906,7 @@ int MathType::ConvertFromStarMath( SfxMedium& rMedium ) 0xB2, 0x71, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; - SvStorageStreamRef xStor( pStor->OpenSotStream(OUString("\1CompObj"))); + SotStorageStreamRef xStor( pStor->OpenSotStream(OUString("\1CompObj"))); xStor->Write(aCompObj,sizeof(aCompObj)); static sal_uInt8 const aOle[] = { @@ -1914,12 +1914,12 @@ int MathType::ConvertFromStarMath( SfxMedium& rMedium ) 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; - SvStorageStreamRef xStor2( pStor->OpenSotStream(OUString("\1Ole"))); + SotStorageStreamRef xStor2( pStor->OpenSotStream(OUString("\1Ole"))); xStor2->Write(aOle,sizeof(aOle)); xStor.Clear(); xStor2.Clear(); - SvStorageStreamRef xSrc = pStor->OpenSotStream(OUString("Equation Native")); + SotStorageStreamRef xSrc = pStor->OpenSotStream(OUString("Equation Native")); if ( (!xSrc.Is()) || (SVSTREAM_OK != xSrc->GetError())) return 0; |