summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-01-07 16:55:49 +0000
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-01-08 04:22:57 +0100
commit49f98ec53e928877a85d3dfc2a06161a27ea7fd2 (patch)
tree97acdf417498504899fa20ff77c1f38efabedad0 /sc
parent71d55f30ecf972d016a2d02fc3b75c4865bb3d6c (diff)
another missing null pointer check in multilinebar, fdo#44518
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputhdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index c0e3cc669843..95d2b7fc151c 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);