diff options
author | Noel Power <noel.power@suse.com> | 2013-07-12 14:15:12 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-07-12 14:17:03 +0100 |
commit | 3d64d67763038f4c7070f9bdbfdedf63360e6439 (patch) | |
tree | 8970dcb3767a4b6ad244e17ae163810615d88f63 /svtools/source/uno | |
parent | df9f26c22a59ae2309201d2709ea5f8a0ecbf247 (diff) |
remove create of com.sun.star.awt.tree.DefaultTreeDataModel, it doesn't exist
Change-Id: I029286d9c25f0b7ee562e87cc7e205aa398e594b
Diffstat (limited to 'svtools/source/uno')
-rw-r--r-- | svtools/source/uno/treecontrolpeer.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index e4976a62b756..7130ffc9d6f8 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -1226,16 +1226,6 @@ void TreeControlPeer::onChangeDataModel( UnoTreeListBoxImpl& rTree, const Refere if( mxDataModel.is() ) 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; fillTree( rTree, mxDataModel ); |