Kaydet (Commit) a9531d2e authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#982487 Unchecked dynamic_cast

Change-Id: I011ab1fc6a4c69891c17c867fbe951c00811eac2
üst d60392fb
......@@ -1408,6 +1408,10 @@ namespace cmis
try
{
libcmis::Document* document = dynamic_cast< libcmis::Document* >( getObject( xEnv ).get() );
if (!document)
return sal_False;
boost::shared_ptr< istream > aIn = document->getContentStream( );
uno::Reference< io::XInputStream > xIn = new ucbhelper::StdInputStream( aIn );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment