Hi,

I have an access violation when I turn on auto completion with an editview/editengine

It starts at EditEngine::PostKeyEvent , in there it goes into

//eLang is English_UK, should this be US?
//Maybe the error is related to this,
//as I have only build for US.
LanguageType eLang = pImpEditEngine->GetLanguage( EditPaM( aStart.GetNode(), aStart.GetIndex()+1));
........
........
Sequence< i18n::CalendarItem > xItem = pImpEditEngine->xLocaleDataWrapper->getDefaultCalendarDays();

Inside getDefaultCalendarDays, it turns up at the end in

getDefaultCalendarImpl
{
   if (!xDefaultCalendar.is())
   {
   Sequence< Calendar > xCals = getAllCalendars();
   // nCount is 1 here
   sal_Int32 nCount = xCals.getLength();
   //stays 0
   sal_Int32 nDef = 0;
      .....
   //crashes here with an access violation,
   //xCals::_pSequence::nRefCount = 1
   //xCals::_pType is a null pointer
   xDefaultCalendar = new Calendar( xCals[nDef]);
}

Thanks for any help and insight on this.

Best regards
Max
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • [sw-discussion... Maximilian Odendahl
    • Re: [sw-d... Frank Meies - Sun Germany - Development - Software Engineer
      • Re: [... Maximilian Odendahl
        • R... Frank Meies - Sun Germany - Development - Software Engineer

Reply via email to