summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xestream.cxx
diff options
context:
space:
mode:
authorNigel Hawkins <nigel.hawkins@inmail24.com>2010-11-19 20:20:07 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-11-19 20:20:07 -0500
commitd765db020b580086edb2b1068c9995c442a1ad91 (patch)
treebc683c7ce451ba2e957b94164546d61ebf124728 /sc/source/filter/excel/xestream.cxx
parent0bb4da6d7d988d98b466db23fae2061e47226d39 (diff)
Replace ScfRef with boost::shared_ptr in calc filter code.
Diffstat (limited to 'sc/source/filter/excel/xestream.cxx')
-rw-r--r--sc/source/filter/excel/xestream.cxx2
1 files changed, 1 insertions, 1 deletions
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 )