summaryrefslogtreecommitdiff
path: root/rsc/source/prj/gui.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-01-03 16:27:24 +0000
committerOliver Bolte <obo@openoffice.org>2005-01-03 16:27:24 +0000
commit640382c45540aa030914b9e52f5dcd3e70aa0ec2 (patch)
treec8ce406082ba35432e2019d6a777f38e61c432a8 /rsc/source/prj/gui.cxx
parent5535f171f82738f808c022b360bbf44624711f5c (diff)
INTEGRATION: CWS res32bit (1.4.16); FILE MERGED
2004/10/22 13:54:34 pl 1.4.16.1: #i34513# free rsc of 32 bit constraints
Diffstat (limited to 'rsc/source/prj/gui.cxx')
-rw-r--r--rsc/source/prj/gui.cxx20
1 files changed, 4 insertions, 16 deletions
diff --git a/rsc/source/prj/gui.cxx b/rsc/source/prj/gui.cxx
index a52e9211fa17..30b3a87a2112 100644
--- a/rsc/source/prj/gui.cxx
+++ b/rsc/source/prj/gui.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: gui.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: hjs $ $Date: 2004-06-26 20:25:58 $
+ * last change: $Author: obo $ $Date: 2005-01-03 17:27:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -93,18 +93,6 @@ static RscCompiler * pRscCompiler = NULL;
delete pRscCompiler;
}
-void PrimeNumber(){
- USHORT i, n;
- for( i = 801; i < 1000; i += 2 ){
- for( n = 2; n < i && ((i % n) != 0); n++ );
- if( n == i ){
- printf( "\nPrimzahl: %d\n", i );
- return;
- }
- }
-}
-
-
#if defined( UNX ) || defined( MAC ) || ( defined( PM2 ) && ( defined( CSET ) || defined ( GCC ))) || defined (WTC) || defined(ICC)
int main ( int argc, char ** argv) {
#else
@@ -165,9 +153,9 @@ int cdecl main ( int argc, char ** argv) {
return( 1 );
}
-void RscExit( USHORT nExit )
+void RscExit( sal_uInt32 nExit )
{
if( nExit )
- printf( "Program exit is %d\n", nExit );
+ printf( "Program exit is %ud\n", (unsigned int)nExit );
exit( nExit );
}