summaryrefslogtreecommitdiff
path: root/xmlscript/source
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2010-10-15 13:00:04 +0100
committerNoel Power <noel.power@novell.com>2010-10-15 13:01:39 +0100
commite63e28d7d6f74fd7a826afbeff618a2fd6ab0a3c (patch)
treedf45df0553c5e1ca6f2cf2d8973da68200d4aadc /xmlscript/source
parent65637b67f55b9ee14c750a5e574d1ce695a94de9 (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.cxx5
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 ) );
}