summaryrefslogtreecommitdiff
path: root/package/source/zipapi/sha1context.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/zipapi/sha1context.cxx')
-rw-r--r--package/source/zipapi/sha1context.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/zipapi/sha1context.cxx b/package/source/zipapi/sha1context.cxx
index af3123e2dbd0..c036041a2d76 100644
--- a/package/source/zipapi/sha1context.cxx
+++ b/package/source/zipapi/sha1context.cxx
@@ -36,7 +36,7 @@ uno::Reference<xml::crypto::XDigestContext> StarOfficeSHA1DigestContext::Create(
if ( !xResult->m_pDigest )
throw uno::RuntimeException("Can not create cipher!" );
- return uno::Reference< xml::crypto::XDigestContext >( xResult.get() );
+ return xResult;
}
StarOfficeSHA1DigestContext::~StarOfficeSHA1DigestContext()