[Libreoffice-commits] core.git: Branch 'feature/gsoc14-personas' - cui/source
Rachit Gupta
rachitgupta1792 at gmail.com
Fri Jul 11 09:22:43 PDT 2014
cui/source/options/personalization.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9f15a103b627682aeabf1e87f0b3323ed671e236
Author: Rachit Gupta <rachitgupta1792 at gmail.com>
Date: Fri Jul 11 21:50:54 2014 +0530
Fixed crash when cancel is clicked without searching.
Change-Id: I67ca901270874794ec55d5b7db2cd18e6d3a997d
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index d69076e..905801d 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -159,7 +159,8 @@ IMPL_LINK( SelectPersonaDialog, ActionOK, PushButton*, /* pButton */ )
IMPL_LINK( SelectPersonaDialog, ActionCancel, PushButton*, /* pButton */ )
{
- m_rSearchThread->StopExecution();
+ if( m_rSearchThread.is() )
+ m_rSearchThread->StopExecution();
EndDialog( RET_CANCEL );
return 0;
More information about the Libreoffice-commits
mailing list