summaryrefslogtreecommitdiff
path: root/svtools/source/table/tablecontrol.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-01 16:33:01 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-05-02 00:50:06 +0200
commit393c51cee8bc3de5a2a9f4e04161c59e8712f631 (patch)
tree8dcee58f3fc4b6ecffbe55c3a5fe749f3f342b46 /svtools/source/table/tablecontrol.cxx
parent526d192333615e8b3b10f144faad987519be1044 (diff)
Audit LoseFocus - forms, reportdesign, sc, starmath, svtools.
Change-Id: If7068e59c88e8c3c3bafc70f64899a26d739e331
Diffstat (limited to 'svtools/source/table/tablecontrol.cxx')
-rw-r--r--svtools/source/table/tablecontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx
index 5c887c36d83d..0c1bdb3b6d8b 100644
--- a/svtools/source/table/tablecontrol.cxx
+++ b/svtools/source/table/tablecontrol.cxx
@@ -80,14 +80,14 @@ namespace svt { namespace table
void TableControl::GetFocus()
{
- if ( !m_pImpl->getInputHandler()->GetFocus( *m_pImpl ) )
+ if ( !m_pImpl || !m_pImpl->getInputHandler()->GetFocus( *m_pImpl ) )
Control::GetFocus();
}
void TableControl::LoseFocus()
{
- if ( !m_pImpl->getInputHandler()->LoseFocus( *m_pImpl ) )
+ if ( !m_pImpl || !m_pImpl->getInputHandler()->LoseFocus( *m_pImpl ) )
Control::LoseFocus();
}