From d765db020b580086edb2b1068c9995c442a1ad91 Mon Sep 17 00:00:00 2001 From: Nigel Hawkins Date: Fri, 19 Nov 2010 20:20:07 -0500 Subject: Replace ScfRef with boost::shared_ptr in calc filter code. --- sc/source/filter/excel/xestream.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/filter/excel/xestream.cxx') diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 2f4e13e5d3d2..86a706ce6e13 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -369,7 +369,7 @@ void XclExpStream::SetEncrypter( XclExpEncrypterRef xEncrypter ) bool XclExpStream::HasValidEncrypter() const { - return mxEncrypter.is() && mxEncrypter->IsValid(); + return mxEncrypter && mxEncrypter->IsValid(); } void XclExpStream::EnableEncryption( bool bEnable ) -- cgit