<html>
<head>
<base href="https://bugs.documentfoundation.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - on windows automatically fill in the default user's name into tools->options->user data"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=55410#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - on windows automatically fill in the default user's name into tools->options->user data"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=55410">bug 55410</a>
from <span class="vcard"><a class="email" href="mailto:brentritztro96@gmail.com" title="Brent Ritzema <brentritztro96@gmail.com>"> <span class="fn">Brent Ritzema</span></a>
</span></b>
<pre>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 :)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>