From e27fc9b6c2f3d7c01a2d1477f740cbc548aa874a Mon Sep 17 00:00:00 2001 From: Noel Power Date: Tue, 11 Sep 2012 16:03:31 +0100 Subject: disable scrollable Frame ( not working well ) Change-Id: I09dc7b656c7ff19b937936e0b8436022d287cc87 --- toolkit/source/controls/dialogcontrol.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'toolkit/source/controls') diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx index d29f0ec8f3a7..ba6c7517ff64 100644 --- a/toolkit/source/controls/dialogcontrol.cxx +++ b/toolkit/source/controls/dialogcontrol.cxx @@ -361,9 +361,6 @@ void UnoDialogControl::createPeer( const Reference< XToolkit > & rxToolkit, cons // there must be a better way than doing this, we can't // process the scrolltop & scrollleft in XDialog because // the children haven't been added when those props are applied - Reference< XPropertySet > xDlgProps( getModel(), UNO_QUERY ); - Reference< XPropertySet > xPeerProps( getPeer(), uno::UNO_QUERY ); - ImplSetPeerProperty( GetPropertyName( BASEPROPERTY_SCROLLTOP ), ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_SCROLLTOP ) ) ); ImplSetPeerProperty( GetPropertyName( BASEPROPERTY_SCROLLLEFT ), ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_SCROLLLEFT ) ) ); -- cgit