-Werror,-Wnon-literal-null-conversion (Clang towards 3.2)
Change-Id: Id92099158b8c12b19148397562c6ce16812848fa
This commit is contained in:
@@ -436,7 +436,7 @@ sal_Bool ODBFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
|
|||||||
uno::Reference<XComponent> xCom(GetModel(),UNO_QUERY);
|
uno::Reference<XComponent> xCom(GetModel(),UNO_QUERY);
|
||||||
|
|
||||||
SfxMediumRef pMedium = new SfxMedium(
|
SfxMediumRef pMedium = new SfxMedium(
|
||||||
sFileName, ( STREAM_READ | STREAM_NOCREATE ), sal_False, 0 );
|
sFileName, ( STREAM_READ | STREAM_NOCREATE ) );
|
||||||
uno::Reference< embed::XStorage > xStorage;
|
uno::Reference< embed::XStorage > xStorage;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@@ -506,7 +506,7 @@ sal_Bool ORptFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
|
|||||||
uno::Reference<XComponent> xCom(GetModel(),UNO_QUERY);
|
uno::Reference<XComponent> xCom(GetModel(),UNO_QUERY);
|
||||||
|
|
||||||
SfxMediumRef pMedium = new SfxMedium(
|
SfxMediumRef pMedium = new SfxMedium(
|
||||||
sFileName, ( STREAM_READ | STREAM_NOCREATE ), sal_False, 0 );
|
sFileName, ( STREAM_READ | STREAM_NOCREATE ) );
|
||||||
|
|
||||||
if( pMedium )
|
if( pMedium )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user