Kaydet (Commit) 3d64d677 authored tarafından Noel Power's avatar Noel Power

remove create of com.sun.star.awt.tree.DefaultTreeDataModel, it doesn't exist

Change-Id: I029286d9c25f0b7ee562e87cc7e205aa398e594b
üst df9f26c2
...@@ -1226,16 +1226,6 @@ void TreeControlPeer::onChangeDataModel( UnoTreeListBoxImpl& rTree, const Refere ...@@ -1226,16 +1226,6 @@ void TreeControlPeer::onChangeDataModel( UnoTreeListBoxImpl& rTree, const Refere
if( mxDataModel.is() ) if( mxDataModel.is() )
mxDataModel->removeTreeDataModelListener( xListener ); mxDataModel->removeTreeDataModelListener( xListener );
if( !xDataModel.is() )
{
static const OUString aSN( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.tree.DefaultTreeDataModel" ) );
Reference< XMultiServiceFactory > xORB( ::comphelper::getProcessServiceFactory() );
if( xORB.is() )
{
mxDataModel.query( xORB->createInstance( aSN ) );
}
}
mxDataModel = xDataModel; mxDataModel = xDataModel;
fillTree( rTree, mxDataModel ); fillTree( rTree, mxDataModel );
......
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