summaryrefslogtreecommitdiff
path: root/vcl/workben/svdem.cxx
diff options
context:
space:
mode:
authorth <th@openoffice.org>2001-03-12 14:57:06 +0000
committerth <th@openoffice.org>2001-03-12 14:57:06 +0000
commitc38d5bf35928da06e81b72ee22e4d0daf53b9ed7 (patch)
tree975d27af9cdaaf6e578f4458308e8b96ac70dc7a /vcl/workben/svdem.cxx
parentd603b0ed5d019f6f340cf0dccdb9d421467c7a7d (diff)
Cleanup
Diffstat (limited to 'vcl/workben/svdem.cxx')
-rw-r--r--vcl/workben/svdem.cxx28
1 files changed, 9 insertions, 19 deletions
diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx
index c7f8511920e6..03684a0fb02a 100644
--- a/vcl/workben/svdem.cxx
+++ b/vcl/workben/svdem.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdem.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: mm $ $Date: 2001-02-23 18:08:12 $
+ * last change: $Author: th $ $Date: 2001-03-12 15:57:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -58,34 +58,22 @@
*
*
************************************************************************/
+
+#include <sal/main.h>
+#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+
#include <event.hxx>
#include <svapp.hxx>
#include <wrkwin.hxx>
#include <msgbox.hxx>
-#include <sal/main.h>
-
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-
// -----------------------------------------------------------------------
+// Forward declaration
void Main();
-/*
-class MyApp : public Application
-{
-public:
- void Main()
- {
- ::Main();
- }
-};
-
-MyApp aMyApp;
-*/
// -----------------------------------------------------------------------
-
SAL_IMPLEMENT_MAIN()
{
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xMS;
@@ -95,6 +83,7 @@ SAL_IMPLEMENT_MAIN()
return 0;
}
+// -----------------------------------------------------------------------
class MyWin : public WorkWindow
{
@@ -111,6 +100,7 @@ public:
};
// -----------------------------------------------------------------------
+
void Main()
{
MyWin aMainWin( NULL, WB_APP | WB_STDWORK );