Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Markus,

On Mon, 2011-06-20 at 21:04 +0200, Markus Mohrhard wrote:
I have here a quick patch for fdo#38455. Calc crahs if you go to
Data->Define range and type some text to a cell because pActiveViewSh
isn't set in the InputHandler.

        Hokay ?

This fix only checks that pActiveViewSh is not null. I might come up
with a better patch if I change my mind and think that pActiveViewSh
should not be null there. But at least this patch fixes the crash at
the moment.

        The rest of that method seems to assume in several places that
pActiveViewSh can be NULL and checks for that:

 if (pActiveViewSh)
        pActiveViewSh->GetViewData()->GetDocShell()->PostEditView( pEngine, aCurso...
 Window* pFrameWin = pActiveViewSh ? pActiveViewSh->GetFrameWin() : NULL

        etc. which makes me wonder if this is really the fix ? are we perhaps
missing a more granular check ?

        Thanks,

                Michael.

-- 
 michael.meeks@novell.com  <><, Pseudo Engineer, itinerant idiot



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.