To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72484
------- Additional comments from [EMAIL PROTECTED] Wed Oct 31 16:05:34 +0000
2007 -------
cl->cl: here is the code snipet to test in sd/source/ui/dlg/preset.cxx
const OUString sScreenName(
RTL_CONSTASCII_USTRINGPARAM("ScreenName") );
const String sPlaceHolder( RTL_CONSTASCII_USTRINGPARAM(
"%N" ) );
for( sal_Int32 nDisplay = 0; nDisplay < mnMonitors;
nDisplay++ )
{
OUString sName;
try
{
Reference< XPropertySet > xDisplayInfo(
xMultiMon->getByIndex( nDisplay ),
UNO_QUERY_THROW );
xDisplayInfo->getPropertyValue(
sScreenName ) >>= sName;
}
catch( Exception& )
{
DBG_ERROR("SdStartPresentationDlg::InitMonitorSettings(), exception caught!");
}
if( sName.getLength() == 0 )
{
String sTmp( nDisplay == nPrimaryIndex
? msPrimaryMonitor : msMonitor );
const String aNumber(
String::CreateFromInt32( nDisplay + 1 ) );
sTmp.SearchAndReplace( sPlaceHolder,
aNumber );
sName = sTmp;
}
maLBMonitor.InsertEntry( sName );
}
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]