summaryrefslogtreecommitdiff
path: root/rsc/source/res
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/res')
-rw-r--r--rsc/source/res/rscclass.cxx2
-rw-r--r--rsc/source/res/rscflag.cxx4
-rw-r--r--rsc/source/res/rscmgr.cxx2
-rw-r--r--rsc/source/res/rscrange.cxx4
4 files changed, 6 insertions, 6 deletions
diff --git a/rsc/source/res/rscclass.cxx b/rsc/source/res/rscclass.cxx
index 4c3380af8c39..3df83a72c7be 100644
--- a/rsc/source/res/rscclass.cxx
+++ b/rsc/source/res/rscclass.cxx
@@ -1067,7 +1067,7 @@ void RscClass::WriteRcCtor( FILE * fOutput, RscTypCont * pTC )
fprintf( fOutput, "\tsal_uInt32\tnObjMask;\n" );
fprintf( fOutput, "\tsal_uInt32\tnOffset = 0;\n" );
fprintf( fOutput, "\tBYTE *\tpResData;\n\n" );
- fprintf( fOutput, "\tpResData = (sal_uInt8 *)GetClassRes();\n\n" );
+ fprintf( fOutput, "\tpResData = (tBYTE *)GetClassRes();\n\n" );
fprintf( fOutput, "\tnObjMask = *(sal_uInt32*)pResData;\n" );
fprintf( fOutput, "\tnOffset += 4;\n\n" );
diff --git a/rsc/source/res/rscflag.cxx b/rsc/source/res/rscflag.cxx
index a1844c5a057c..48c583a3ff8e 100644
--- a/rsc/source/res/rscflag.cxx
+++ b/rsc/source/res/rscflag.cxx
@@ -445,9 +445,9 @@ void RscClient::WriteSrc( const RSCINST & rInst, FILE * fOutput,
RscTypCont *, sal_uInt32, const char * )
{
if( pRefClass->IsSet( rInst, nConstId ) )
- fprintf( fOutput, "sal_True" );
+ fprintf( fOutput, "TRUE" );
else
- fprintf( fOutput, "sal_False" );
+ fprintf( fOutput, "FALSE" );
}
/*************************************************************************
diff --git a/rsc/source/res/rscmgr.cxx b/rsc/source/res/rscmgr.cxx
index da8f19b68685..69a989c1683b 100644
--- a/rsc/source/res/rscmgr.cxx
+++ b/rsc/source/res/rscmgr.cxx
@@ -453,7 +453,7 @@ ERRTYPE RscMgr::WriteHxxHeader( const RSCINST & rInst, FILE * fOutput,
if( aError.IsOk() )
{
fprintf( fOutput, "public:\n " );
- fprintf( fOutput, "%s%s bFreeRes = sal_True )",
+ fprintf( fOutput, "%s%s bFreeRes = TRUE )",
MakeName( pTC, rInst.pClass,
rId.GetName() ).GetBuffer(),
(rInst.pClass->aCallParType).GetBuffer() );
diff --git a/rsc/source/res/rscrange.cxx b/rsc/source/res/rscrange.cxx
index 69fcb1b73d6a..78fa86b6fa48 100644
--- a/rsc/source/res/rscrange.cxx
+++ b/rsc/source/res/rscrange.cxx
@@ -774,9 +774,9 @@ void RscBool::WriteSrc( const RSCINST & rInst, FILE * fOutput,
GetNumber( rInst, &l );
if( l )
- fprintf( fOutput, "sal_True" );
+ fprintf( fOutput, "TRUE" );
else
- fprintf( fOutput, "sal_False" );
+ fprintf( fOutput, "FALSE" );
}
//=======================================================================