WaE: converting to non-pointer type 'long long int' from NULL

Change-Id: I9d603c0d5c4920d148ec15d6368e89f9c037c26a
This commit is contained in:
David Tardon
2012-05-29 07:34:09 +02:00
parent bc406009d1
commit fbc237fb97
+1 -1
View File
@@ -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<SfxObjectShell*>( xObjShellTunnel.is() ? xObjShellTunnel->getSomething(SfxObjectShell::getUnoTunnelId()) : NULL );
SfxObjectShell* pFoundShell = reinterpret_cast<SfxObjectShell*>( xObjShellTunnel.is() ? xObjShellTunnel->getSomething(SfxObjectShell::getUnoTunnelId()) : 0 );
if ( pFoundShell && ooo::vba::isAlienExcelDoc( *pFoundShell ) )
{
xRowStylesPropertySetMapper = new XMLPropertySetMapper((XMLPropertyMapEntry*)aXMLScFromXLSRowStylesProperties, xScPropHdlFactory);