From e63e28d7d6f74fd7a826afbeff618a2fd6ab0a3c Mon Sep 17 00:00:00 2001 From: Noel Power Date: Fri, 15 Oct 2010 13:00:04 +0100 Subject: fix fdo#30856 remove VBAForm property and associated geometry hack --- xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'xmlscript') diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx index 8488851bcaa2..81ba97c6a955 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx @@ -1922,11 +1922,6 @@ Reference< xml::sax::XDocumentHandler > SAL_CALL importDialogModel( SAL_THROW( (Exception) ) { DialogImport* pImport = new DialogImport( xContext, xDialogModel, xDocument ); - uno::Reference< script::vba::XVBACompatibility > xVBAModeSource( pImport->getScriptLibraryContainer(), uno::UNO_QUERY ); - - uno::Reference< beans::XPropertySet > xDlgProps( xDialogModel, uno::UNO_QUERY ); - if ( xVBAModeSource.is() && xDlgProps.is() && xVBAModeSource->getVBACompatibilityMode() ) - xDlgProps->setPropertyValue( OUSTR("VBAForm"), uno::makeAny( sal_True ) ); return ::xmlscript::createDocumentHandler( static_cast< xml::input::XRoot * >( pImport ) ); } -- cgit