Kaydet (Commit) 4eb73959 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add a (dummy) ooo::vba::word::XApplication::ShowMe() implementation

Some customer VB6 code calls it. It doesn't seem to do anything
interesting in Word either, so I don't feel that bad for it not doing
anything in Writer.

Change-Id: I81162fcdd0caa22b19760f8cb40266f7f571d8ce
Reviewed-on: https://gerrit.libreoffice.org/55069Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTor Lillqvist <tml@collabora.com>
üst 5afbfd21
......@@ -46,6 +46,7 @@ interface XApplication : com::sun::star::uno::XInterface
any Dialogs( [in] any Index );
any ListGalleries( [in] any aIndex );
float CentimetersToPoints([in] float Centimeters );
void ShowMe();
};
}; }; };
......
......@@ -154,6 +154,11 @@ float SAL_CALL SwVbaApplication::CentimetersToPoints( float Centimeters )
return VbaApplicationBase::CentimetersToPoints( Centimeters );
}
void SAL_CALL SwVbaApplication::ShowMe()
{
// No idea what we should or could do
}
uno::Reference< frame::XModel >
SwVbaApplication::getCurrentDocument()
{
......
......@@ -55,6 +55,7 @@ public:
virtual sal_Int32 SAL_CALL getEnableCancelKey() override;
virtual void SAL_CALL setEnableCancelKey( sal_Int32 _enableCancelKey ) override;
virtual float SAL_CALL CentimetersToPoints( float Centimeters ) override;
virtual void SAL_CALL ShowMe() override;
// XHelperInterface
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment