summaryrefslogtreecommitdiff
path: root/automation/source/miniapp/testapp.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:21:58 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:21:58 +0000
commita10ce31af3e004842409059f50fe8307727ecf12 (patch)
tree525a53bf7724b59b3635d75457f7decdb27268c1 /automation/source/miniapp/testapp.hxx
parentcf1360d6c688485448a217246db353d3cc72ccc9 (diff)
INTEGRATION: CWS warnings01 (1.2.12); FILE MERGED
2006/03/02 08:08:43 gh 1.2.12.2: removing warnings for linux and solarisSparc and some windows 2006/02/02 09:19:56 gh 1.2.12.1: removed compiler warnings
Diffstat (limited to 'automation/source/miniapp/testapp.hxx')
-rw-r--r--automation/source/miniapp/testapp.hxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/automation/source/miniapp/testapp.hxx b/automation/source/miniapp/testapp.hxx
index d97ca5b03d42..38f365f677a8 100644
--- a/automation/source/miniapp/testapp.hxx
+++ b/automation/source/miniapp/testapp.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: testapp.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 19:21:37 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:21:58 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -92,7 +92,7 @@ public:
void FileExit();
void FileOpen();
void TestGross();
- void Tree(GHEditWindow *aEditWin, Window *pBase, int Indent);
+ void Tree(GHEditWindow *aEditWin, Window *pBase, USHORT Indent);
void WinTree();
void SysDlg();
DECL_LINK(MenuSelectHdl,MenuBar*);
@@ -105,9 +105,12 @@ class MyDispatcher
public:
MyDispatcher(MainWindow *MainWin) : pMainWin(MainWin) {};
- ~MyDispatcher() {};
+ virtual ~MyDispatcher() {};
virtual USHORT ExecuteFunction( USHORT nSID, SfxPoolItem** ppArgs = 0, USHORT nMode = 0);
- virtual void SetExecuteMode( USHORT nMode ) {}; // Ist hier sowieso egal
+ virtual void SetExecuteMode( USHORT nMode )
+ {
+ (void) nMode; /* avoid warning about unused parameter */
+ }; // Ist hier sowieso egal
};
class MyApp : public Application