summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2006-05-02 16:13:33 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2006-05-02 16:13:33 +0000
commite73637db1a163d43543df636e46826d50a862a3d (patch)
tree7d76d41502a4ab265c58cfde0fc23b7b8616a65f /desktop
parent346f48bca09bb28697fa3f15e59a9bfcaef70362 (diff)
INTEGRATION: CWS sfxcleanup (1.17.36); FILE MERGED
2006/04/28 13:45:46 mba 1.17.36.2: RESYNC: (1.17-1.18); FILE MERGED 2006/02/27 15:17:28 mba 1.17.36.1: #132394#: remove superfluous code
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/splash/splash.cxx19
1 files changed, 10 insertions, 9 deletions
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index 0764a50dd0..31b1659251 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: splash.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: obo $ $Date: 2006-03-29 08:43:45 $
+ * last change: $Author: rt $ $Date: 2006-05-02 17:13:33 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -57,6 +57,7 @@
#include <rtl/bootstrap.hxx>
#endif
+#include <com/sun/star/registry/XRegistryKey.hpp>
#include <rtl/logfile.hxx>
#define NOT_LOADED ((long)-1)
@@ -334,7 +335,7 @@ void SplashScreen::initBitmap()
if ( bShowLogo )
{
xub_StrLen nIndex = 0;
- String aBmpFileName( DEFINE_CONST_UNICODE("intro.bmp") );
+ String aBmpFileName( UniString(RTL_CONSTASCII_USTRINGPARAM("intro.bmp")) );
bool haveBitmap = false;
@@ -385,15 +386,15 @@ void SplashScreen::initBitmap()
// any language specific information, we have to search for the correct resource
// file. The bitmap resource is language independent.
const USHORT nResId = RID_DEFAULTINTRO;
- String aMgrName = String::CreateFromAscii( "iso" );
- aMgrName += String::CreateFromInt32(SUPD); // current build version
- ResMgr* pLabelResMgr = ResMgr::CreateResMgr( U2S( aMgrName ));
+ ByteString aMgrName( "iso" );
+ aMgrName += ByteString::CreateFromInt32(SUPD); // current build version
+ ResMgr* pLabelResMgr = ResMgr::CreateResMgr( aMgrName.GetBuffer() );
if ( !pLabelResMgr )
{
// no "iso" resource -> search for "ooo" resource
- aMgrName = String::CreateFromAscii( "ooo" );
- aMgrName += String::CreateFromInt32(SUPD); // current build version
- pLabelResMgr = ResMgr::CreateResMgr( U2S( aMgrName ));
+ aMgrName = "ooo";
+ aMgrName += ByteString::CreateFromInt32(SUPD); // current build version
+ pLabelResMgr = ResMgr::CreateResMgr( aMgrName.GetBuffer() );
}
if ( pLabelResMgr )
{