https://bugs.documentfoundation.org/show_bug.cgi?id=55410
--- Comment #9 from Brent Ritzema <brentritztro96@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 on the CC list for the bug.
Context
- [Bug 55410] on windows automatically fill in the default user's name into tools->options->user data · bugzilla-daemon
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.