Lines 178-184
Link Here
|
178 |
m_aCountryList.SetDropDownLineCount( 5 ); |
178 |
m_aCountryList.SetDropDownLineCount( 5 ); |
179 |
|
179 |
|
180 |
#ifdef UNX |
180 |
#ifdef UNX |
181 |
m_aShortName.SetText( UniString::CreateFromAscii(getenv("LOGNAME")) ); |
181 |
// LOGNAME may be unset -- passed down pointer must not be NULL |
|
|
182 |
sal_Char* getlogname = getenv("LOGNAME"); |
183 |
if (getlogname == NULL) { getlogname = ""; }; |
184 |
m_aShortName.SetText( UniString::CreateFromAscii(getlogname) ); |
182 |
#else |
185 |
#else |
183 |
m_aFirstName.SetModifyHdl( LINK( this, PageAddress, ModifyHdl ) ); |
186 |
m_aFirstName.SetModifyHdl( LINK( this, PageAddress, ModifyHdl ) ); |
184 |
m_aName.SetModifyHdl( LINK( this, PageAddress, ModifyHdl ) ); |
187 |
m_aName.SetModifyHdl( LINK( this, PageAddress, ModifyHdl ) ); |