Hi Andreas,

When redesigning svtools\source\config\useroptions.cxx,
I made like below changes:

String SvtUserOptions_Impl::GetFirstName() const
{
    ::rtl::OUString sFirstName;
    try
    {
        m_xData->getPropertyValue(s_sgivenname) >>= sFirstName;
    }
    catch ( const css::uno::Exception& ex)
    {
        LogHelper::logIt(ex);
    }
    return String(sFirstName);
}

The OOo still will crash when opening Menu:Tools->Options. The crash point is aFirstName.SetText( aUserOpt.GetFirstName() ) in SvxGeneralTabPage::SetAddress_Impl();

BTW, "const String& SvtUserOptions::GetFirstName() const" isnt made any changes. Does this method need changes too?

Needing your help to solve this problem.:-)

Regards,
Yan Wu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to