To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=52818


User pjanik changed the following:

                  What    |Old value                 |New value
================================================================================
               Assigned to|sba                       |tbe
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Sat Aug  6 00:41:49 -0700 
2005 -------
Looks like the problem is in the function

void
SvxScriptSelectorDialog::GetDocTitle(
        const Reference< frame::XModel >& xModel,
        OUString& rTitle )

in svx/source/dialog/selector.cxx. This function is eventdlg.cxx as:

                        OUString aTitle;
                        SvxScriptSelectorDialog::GetDocTitle( xModel, aTitle );
            nPos = aSaveInListBox.InsertEntry( aTitle );

to add the title of the document.

Because the new document is not yet saved, this part of GetDocTitle is used:

                            if ( xModel->getURL().getLength() == 0 )
                            {
                                    // process "UntitledX - YYYYYYYY" // to get 
UntitledX
                                    sal_Int32 pos = 0;
                                    aResult = tmp.getToken(0, ' ', pos);
                            }

Only the first word of the document name is used.

Reassigning to tbe because he was probably the last one who touched this code.


---------------------------------------------------------------------
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]

Reply via email to