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


User cmc changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|'cmc,pescetti'            |'cmc,nn,pescetti'
--------------------------------------------------------------------------------
              Issue type|ENHANCEMENT               |DEFECT
--------------------------------------------------------------------------------
                 Summary|Repeat digitation with spe|edit->repeat: input doesn'
                        |llcheck enabled           |t work if the previous inp
                        |                          |ut was marked as misspelle
                        |                          |d
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Wed Jun 10 13:14:53 +0000 
2009 -------
There's no way this can be by design :-)

Anyway, so a misspelled word gets an EditTextObject so as to show the
red-underline for a mis-spelling. So the

void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab, const
EditTextObject* pData, BOOL bRecord, BOOL bTestSimple )

variant is used to enter the data, rather than the simpler string based one, and
in this ScViewFunc::EnterData we use 

ScUndoEnterData( pDocSh, nCol, nRow, nTab, nPos, pTabs, ppOldCells, NULL, NULL,
String(), ppOldCells, NULL, NULL, String(), pUndoData ) );

with an empty string as the repeat-string. For normal undo-redo its ok as the
pUndoData is used, but for repeating we only use the string, i.e.

void __EXPORT ScUndoEnterData::Repeat(SfxRepeatTarget& rTarget)
{
        if (rTarget.ISA(ScTabViewTarget))
        {
                String aTemp = aNewString;
                ((ScTabViewTarget&)rTarget).GetViewShell()->EnterDataAtCursor(
aTemp );
        }
}

cmc->nn: Perhaps the attached patch is a useful solution for this, to generate
the needed text for the repeat field

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