From fbc237fb970883a87f8a13ef769995d34056c2a5 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 24 May 2012 07:36:04 +0200 Subject: [PATCH] WaE: converting to non-pointer type 'long long int' from NULL Change-Id: I9d603c0d5c4920d148ec15d6368e89f9c037c26a --- sc/source/filter/xml/xmlexprt.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 2f7c3fbe9f1a..e47a6ae70cbb 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -4434,7 +4434,7 @@ sal_uInt32 ScXMLExport::exportDoc( enum XMLTokenEnum eClass ) if ( xModel.is() ) { uno::Reference< lang::XUnoTunnel > xObjShellTunnel( xModel, uno::UNO_QUERY ); - SfxObjectShell* pFoundShell = reinterpret_cast( xObjShellTunnel.is() ? xObjShellTunnel->getSomething(SfxObjectShell::getUnoTunnelId()) : NULL ); + SfxObjectShell* pFoundShell = reinterpret_cast( xObjShellTunnel.is() ? xObjShellTunnel->getSomething(SfxObjectShell::getUnoTunnelId()) : 0 ); if ( pFoundShell && ooo::vba::isAlienExcelDoc( *pFoundShell ) ) { xRowStylesPropertySetMapper = new XMLPropertySetMapper((XMLPropertyMapEntry*)aXMLScFromXLSRowStylesProperties, xScPropHdlFactory);