diff options
author | hg <hg@oosvn01.> | 2009-10-08 15:56:43 +0000 |
---|---|---|
committer | hg <hg@oosvn01.> | 2009-10-08 15:56:43 +0000 |
commit | 98fa30855ac5b597ac1f4542f4995c07887f632f (patch) | |
tree | 35e3337d755dc240cb01e51269696663df0c9952 /rsc | |
parent | 6d16b13150863dc7506506863e73e28d5ff569ad (diff) | |
parent | 7ad0431b233f8e37a45f60583a7e77e349ed171e (diff) |
merge with m53
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/prj/start.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx index 5a623efeee51..c43879020a8e 100644 --- a/rsc/source/prj/start.cxx +++ b/rsc/source/prj/start.cxx @@ -306,8 +306,10 @@ int cdecl main ( int argc, char ** argv) BOOL bHelp = FALSE; BOOL bError = FALSE; BOOL bResponse = FALSE; - ByteString aPrePro( "rscpp" ); - ByteString aRsc2Name( "rsc2" ); + ByteString aSolarbin(getenv("SOLARBINDIR")); + ByteString aDelim("/"); + ByteString aPrePro; //( aSolarbin + aDelim + ByteString("rscpp")); + ByteString aRsc2Name; //( aSolarbin + aDelim + ByteString("rsc2")); ByteString aSrsName; ByteString aResName; RscStrList aInputList; @@ -318,6 +320,14 @@ int cdecl main ( int argc, char ** argv) sal_uInt32 i; ByteString* pString; + aPrePro = aSolarbin; + aPrePro += aDelim; + aPrePro += ByteString("rscpp"); + + aRsc2Name = aSolarbin; + aRsc2Name += aDelim; + aRsc2Name += ByteString("rsc2"); + printf( "VCL Resource Compiler 3.0\n" ); pStr = ::ResponseFile( &aCmdLine, argv, argc ); |