https://bugs.documentfoundation.org/show_bug.cgi?id=55410

--- Comment #9 from Brent Ritzema <brentritztr...@gmail.com> ---
Alright well I made that change to UserProfile.xcu... However it still is not
working. Maybe I am doing something wrong in desktopbackend.cxx? Here is what I
did just as a quick test:

css::uno::Any Default::getPropertyValue(OUString const & PropertyName)
    throw (
        css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
        css::uno::RuntimeException, std::exception)
{
    //Added these next 5 lines
    if ( PropertyName == "givenname")
    {
        css::uno::Any value = "brent";
        return css::uno::makeAny(value);
    }
    if ( PropertyName == "EnableATToolSupport" ||
         PropertyName == "ExternalMailer" ||
         PropertyName == "SourceViewFontHeight" ||
         PropertyName == "SourceViewFontName" ||
         PropertyName == "TemplatePathVariable" ||
         PropertyName == "WorkPathVariable" ||
         PropertyName == "ooInetFTPProxyName" ||
         PropertyName == "ooInetFTPProxyPort" ||
         PropertyName == "ooInetHTTPProxyName" ||
         PropertyName == "ooInetHTTPProxyPort" ||
         PropertyName == "ooInetHTTPSProxyName" ||
         PropertyName == "ooInetHTTPSProxyPort" ||
         PropertyName == "ooInetNoProxy" ||
         PropertyName == "ooInetProxyType" ||
         PropertyName == "givenname" ||
         PropertyName == "sn" )
    {

        return css::uno::makeAny(css::beans::Optional< css::uno::Any >());
    }
    throw css::beans::UnknownPropertyException(
        PropertyName, static_cast< cppu::OWeakObject * >(this));
}

When I go to the options my name still does not appear (I did delete the user
directory every time).

Any more help is appreciated :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to