[Libreoffice-commits] .: sc/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Sat Jan 7 11:19:55 PST 2012


 sc/source/ui/app/inputhdl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f8708acc5b72a0e453a42c19c396ccd4f7786da7
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat Jan 7 17:55:49 2012 +0100

    another missing null pointer check in multilinebar, fdo#44518

diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 83b58ff..34959e1 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -2115,7 +2115,7 @@ void ScInputHandler::DataChanged( sal_Bool bFromTopNotify )
     if (eMode==SC_INPUT_TYPE || eMode==SC_INPUT_TABLE)
     {
         String aText;
-        if ( pInputWin->IsMultiLineInput() )
+        if ( pInputWin && pInputWin->IsMultiLineInput() )
             aText = ScEditUtil::GetMultilineString(*pEngine);
         else
             aText = GetEditText(pEngine);


More information about the Libreoffice-commits mailing list