summaryrefslogtreecommitdiff
path: root/starmath/source/eqnolefilehdr.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-06 16:38:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-07 11:05:04 +0200
commit0241519f323b2b29db747467b8c3d9590c33f0df (patch)
treede5e98992f8db0ed8d23f1ff8d972113700295fd /starmath/source/eqnolefilehdr.cxx
parentdc47b2e5136f0f767273dc5fdba5c822575e194b (diff)
Unwind SotStorageStreamRef typedef
Change-Id: If7652a7c0251b741660365848a717c06954ca419
Diffstat (limited to 'starmath/source/eqnolefilehdr.cxx')
-rw-r--r--starmath/source/eqnolefilehdr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/eqnolefilehdr.cxx b/starmath/source/eqnolefilehdr.cxx
index ddd6e9593b9e..0853ebd1cac8 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
- SotStorageStreamRef xSrc = pStor->OpenSotStream(
+ tools::SvRef<SotStorageStream> xSrc = pStor->OpenSotStream(
OUString("Equation Native"),
STREAM_STD_READ | StreamMode::NOCREATE);
if ( (!xSrc.Is()) || (SVSTREAM_OK != xSrc->GetError()))