diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-27 06:54:39 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-27 06:54:39 +0000 |
commit | 63a4bcb9d813fc39d96b5df95553d95bdd8f39af (patch) | |
tree | 9f8be06b60d88b61c0490d8b5855718292f3a23b /soldep | |
parent | 11b8cfbb994000e484c3332a08672bc8e0da9c96 (diff) |
change for solaris
Diffstat (limited to 'soldep')
-rw-r--r-- | soldep/source/depapp.cxx | 7 | ||||
-rw-r--r-- | soldep/source/depapp.hxx | 8 |
2 files changed, 10 insertions, 5 deletions
diff --git a/soldep/source/depapp.cxx b/soldep/source/depapp.cxx index c9f51d7d5094..8123a5e2568c 100644 --- a/soldep/source/depapp.cxx +++ b/soldep/source/depapp.cxx @@ -4,9 +4,9 @@ * * $RCSfile: depapp.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: obo $ $Date: 2006-10-23 11:36:37 $ + * last change: $Author: obo $ $Date: 2006-10-27 07:54:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -39,7 +39,10 @@ void MyApp::Main() { +#if defined(WNT) pDebugFile = fopen( "fprintf.out", "w" ); +#endif + pMyApp = GetpApp(); MyWin aMainWin( NULL, WB_APP | WB_STDWORK ); pAppWindow = &aMainWin; diff --git a/soldep/source/depapp.hxx b/soldep/source/depapp.hxx index e25d21bacbca..b2d1868574e3 100644 --- a/soldep/source/depapp.hxx +++ b/soldep/source/depapp.hxx @@ -4,9 +4,9 @@ * * $RCSfile: depapp.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: obo $ $Date: 2006-10-23 11:31:32 $ + * last change: $Author: obo $ $Date: 2006-10-27 07:54:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -76,7 +76,9 @@ class MyApp : public Application public: // MyApp(); // ~MyApp() {}; - FILE* pDebugFile; +#if defined(WNT) + FILE* pDebugFile; +#endif void Main(); ResMgr* GetResMgr() const { return pResMgr; } |