diff options
author | Noel Power <noel.power@novell.com> | 2010-10-15 13:00:04 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2010-10-15 13:01:39 +0100 |
commit | e63e28d7d6f74fd7a826afbeff618a2fd6ab0a3c (patch) | |
tree | df45df0553c5e1ca6f2cf2d8973da68200d4aadc /xmlscript/source | |
parent | 65637b67f55b9ee14c750a5e574d1ce695a94de9 (diff) |
fix fdo#30856 remove VBAForm property and associated geometry hack
Diffstat (limited to 'xmlscript/source')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
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 ) ); } |