summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-01 14:34:23 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-02 00:49:58 +0200
commit9d17e1250acb7c5c60cdf8d71476c5873b8b4a9b (patch)
tree12275c42a88e9299398fe9b465660212ac91cdbe /dbaccess/source/ui/querydesign
parentc6f0b726e605df49074e2ddc668fa4c6f070c170 (diff)
Audit LoseFocus - basctl, cui, dbaccess.
Change-Id: If61b45f28f30e3ab00dbf071198233d59899d719
Diffstat (limited to 'dbaccess/source/ui/querydesign')
-rw-r--r--dbaccess/source/ui/querydesign/TableWindowTitle.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx
index a0fba532d142..f1f3149862f0 100644
--- a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx
@@ -68,11 +68,16 @@ void OTableWindowTitle::GetFocus()
{
if(m_pTabWin)
m_pTabWin->GetFocus();
+ else
+ FixedText::GetFocus();
}
void OTableWindowTitle::LoseFocus()
{
- m_pTabWin->LoseFocus();
+ if (m_pTabWin)
+ m_pTabWin->LoseFocus();
+ else
+ FixedText::LoseFocus();
}
void OTableWindowTitle::RequestHelp( const HelpEvent& rHEvt )