summaryrefslogtreecommitdiff
path: root/package/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-01 14:51:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-01 20:34:28 +0000
commita64e5e3cf5a4c167d339477508a2428179d0a2be (patch)
tree40ad2f0d2a3882f912f4012b619afcf1a370d9cd /package/source
parent75a2294560380a829a24ebb6f20ef6da00d17aa6 (diff)
avoid implicit cast
Diffstat (limited to 'package/source')
-rw-r--r--package/source/xstor/owriteablestream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx
index c4aa0647f3b1..c95c46113d67 100644
--- a/package/source/xstor/owriteablestream.cxx
+++ b/package/source/xstor/owriteablestream.cxx
@@ -522,7 +522,7 @@ uno::Reference< lang::XMultiServiceFactory > OWriteStream_Impl::GetServiceFactor
::rtl::OUString aTempURL = GetNewTempFileURL( GetServiceFactory() );
try {
- if ( aTempURL && xStream.is() )
+ if ( aTempURL.getLength() && xStream.is() )
{
uno::Reference < ucb::XSimpleFileAccess > xTempAccess(
GetServiceFactory()->createInstance (