extensions/source/propctrlr/propertyeditor.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit a14d7e3b41e1083edcebdeb3484e3cc6666dd63c
Author: David Tardon <dtar...@redhat.com>
Date:   Thu May 28 10:05:58 2015 +0200

    tdf#91671 avoid use of already disposed control
    
    Change-Id: I9cf5feeb2fc0ea91c7684aaf8adc2809907fa5d7

diff --git a/extensions/source/propctrlr/propertyeditor.cxx 
b/extensions/source/propctrlr/propertyeditor.cxx
index 73d8389..60f72f4 100644
--- a/extensions/source/propctrlr/propertyeditor.cxx
+++ b/extensions/source/propctrlr/propertyeditor.cxx
@@ -166,7 +166,8 @@ namespace pcr
 
     void OPropertyEditor::GetFocus()
     {
-        m_aTabControl->GrabFocus();
+        if ( m_aTabControl )
+            m_aTabControl->GrabFocus();
     }
 
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to