--- /dev/null	
+++ sc/source/ui/vba/vbadialogs.cxx	
@@ -0,0 +1,69 @@
+#include <comphelper/processfactory.hxx>
+
+#include <com/sun/star/lang/XMultiComponentFactory.hpp>
+#include <com/sun/star/frame/XModel.hpp>
+#include <org/openoffice/vba/XApplication.hpp>
+#include <org/openoffice/vba/XDialog.hpp>
+
+#include <tools/string.hxx>
+
+#include "vbahelper.hxx"
+#include "vbadialogs.hxx"
+#include "vbaglobals.hxx"
+#include "vbadialog.hxx"
+
+using namespace ::org::openoffice;
+using namespace ::com::sun::star;
+
+void
+ScVbaDialogs::Dummy() throw (uno::RuntimeException)
+{
+}
+
+uno::Any
+ScVbaDialogs::getParent() throw (uno::RuntimeException)
+{
+	uno::Reference< vba::XGlobals > xGlobals = ScVbaGlobals::getGlobalsImpl( m_xContext );
+	uno::Reference< vba::XApplication > xApplication = xGlobals->getApplication();
+	if ( !xApplication.is() )
+	{
+		throw uno::RuntimeException(
+			::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ScVbaWorkbooks::getParent: Couldn't access Application				object") ),uno::Reference< XInterface >() );
+	}
+	return uno::Any(xApplication);
+}
+                                                                                                                             
+::sal_Int32
+ScVbaDialogs::getCreator() throw (uno::RuntimeException)
+{
+	SC_VBA_STUB();
+	return 0;
+}
+uno::Reference< vba::XApplication >
+ScVbaDialogs::getApplication() throw (uno::RuntimeException)
+{
+	uno::Reference< vba::XApplication > xApplication =  ScVbaGlobals::getGlobalsImpl( m_xContext )->getApplication();
+	if ( !xApplication.is() )
+	{
+		throw uno::RuntimeException(
+		::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ScVbaWorkbooks::getParent: Couldn't access Application object" ) ),
+		uno::Reference< XInterface >() );
+	}
+	return xApplication;
+}
+
+::sal_Int32
+ScVbaDialogs::getCount() throw (uno::RuntimeException)
+{
+	SC_VBA_STUB();
+	return 0;
+}
+
+uno::Any
+ScVbaDialogs::Item( const uno::Any &aItem ) throw (uno::RuntimeException)
+{
+	sal_Int32 nIndex;
+	aItem >>= nIndex;
+	uno::Reference< vba::XDialog > aDialog( new ScVbaDialog( nIndex, m_xContext ) );
+	return uno::Any( aDialog );
+}
