summaryrefslogtreecommitdiff
path: root/rsc/source/prj
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2013-03-26 11:10:45 +0100
committerAndras Timar <atimar@suse.com>2013-03-27 09:33:00 +0100
commit73ff49f47dda14391f0c118f62002cb42680624e (patch)
tree361fb6fecc7ce1e3466036f967614cd5afe3122d /rsc/source/prj
parent95c586d5c034115fd252c5fb0e4637bf9dc68a4d (diff)
remove unused functionality from Resource Compiler
and remove ASCII art comments and other useless comments Change-Id: Iafa5eb5aa421b38b325bdc7cea6045b43a5c582a
Diffstat (limited to 'rsc/source/prj')
-rw-r--r--rsc/source/prj/gui.cxx9
-rw-r--r--rsc/source/prj/start.cxx16
2 files changed, 1 insertions, 24 deletions
diff --git a/rsc/source/prj/gui.cxx b/rsc/source/prj/gui.cxx
index 135c655a717a..4535b56cd2f4 100644
--- a/rsc/source/prj/gui.cxx
+++ b/rsc/source/prj/gui.cxx
@@ -23,16 +23,9 @@
#include <rscrsc.hxx>
#include <rscdb.hxx>
-/*************** G l o b a l e V a r i a b l e n **********************/
static RscCompiler * pRscCompiler = NULL;
-/****************************************************************/
-/* */
-/* Function : ExitProgram() */
-/* */
-/* Description : Gibt die Temporaeren Dateien frei. */
-/****************************************************************/
#if defined( UNX ) || defined ( __GNUC__ ) || defined(__MINGW32__)
- void ExitProgram( void ){
+ void ExitProgram( void ){
#else
void cdecl ExitProgram( void ){
#endif
diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx
index 082263794aee..acf83dbf8840 100644
--- a/rsc/source/prj/start.cxx
+++ b/rsc/source/prj/start.cxx
@@ -38,7 +38,6 @@
#include <sal/main.h>
#include <rtl/strbuf.hxx>
-/*************** C O D E ************************************************/
// Entry point declaration for modules rscpp and rsc2
extern "C"
@@ -47,11 +46,6 @@ extern "C"
}
int rsc2_main(int, char**);
-/*************************************************************************
-|* CallPrePro()
-|*
-|* Beschreibung
-*************************************************************************/
static sal_Bool CallPrePro( const rtl::OString& rInput,
const rtl::OString& rOutput, RscPtrPtr * pCmdLine,
sal_Bool bResponse )
@@ -148,11 +142,6 @@ static sal_Bool CallPrePro( const rtl::OString& rInput,
}
-/*************************************************************************
-|* CallRsc2
-|*
-|* Beschreibung
-*************************************************************************/
static sal_Bool CallRsc2( RscStrList * pInputList,
const rtl::OString &rSrsName, RscPtrPtr * pCmdLine )
{
@@ -215,11 +204,6 @@ static sal_Bool CallRsc2( RscStrList * pInputList,
return( sal_True );
}
-/*************************************************************************
-|*
-|* main()
-|*
-*************************************************************************/
SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
{
sal_Bool bPrePro = sal_True;