diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/workben/toolpanel/toolpaneltest.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svtools/workben/toolpanel/toolpaneltest.cxx b/svtools/workben/toolpanel/toolpaneltest.cxx index 5f60670dad3b..a3b3f6d4f9c8 100644 --- a/svtools/workben/toolpanel/toolpaneltest.cxx +++ b/svtools/workben/toolpanel/toolpaneltest.cxx @@ -66,7 +66,7 @@ using ::com::sun::star::accessibility::XAccessible; class PanelDemo : public Application { public: - virtual void Main(); + virtual int Main(); private: static Reference< XMultiServiceFactory > createApplicationServiceManager(); @@ -860,7 +860,7 @@ Reference< XMultiServiceFactory > PanelDemo::createApplicationServiceManager() } //----------------------------------------------------------------------------- -void __EXPORT PanelDemo::Main() +int __EXPORT PanelDemo::Main() { // create service factory Reference< XMultiServiceFactory > xSMgr = createApplicationServiceManager(); @@ -875,6 +875,7 @@ void __EXPORT PanelDemo::Main() // run the application PanelDemoMainWindow aWindow; Execute(); + return EXIT_SUCCESS; } PanelDemo aTheApplication; |