summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cui/source/options/personalization.cxx26
-rw-r--r--cui/source/options/personalization.hxx2
2 files changed, 14 insertions, 14 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index ffd2adc10cf1..53ce14fd5077 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -130,8 +130,8 @@ OUString SelectPersonaDialog::GetSelectedPersona() const
IMPL_LINK_TYPED( SelectPersonaDialog, SearchPersonas, Button*, pButton, void )
{
OUString searchTerm;
- if( m_rSearchThread.is() )
- m_rSearchThread->StopExecution();
+ if( m_pSearchThread.is() )
+ m_pSearchThread->StopExecution();
if( pButton == m_pSearchButton )
searchTerm = m_pEdit->GetText();
@@ -157,12 +157,12 @@ IMPL_LINK_TYPED( SelectPersonaDialog, SearchPersonas, Button*, pButton, void )
if ( searchTerm.startsWith( "https://addons.mozilla.org/" ) )
{
searchTerm = "https://addons.mozilla.org/en-US/" + searchTerm.copy( searchTerm.indexOf( "firefox" ) );
- m_rSearchThread = new SearchAndParseThread( this, searchTerm, true );
+ m_pSearchThread = new SearchAndParseThread( this, searchTerm, true );
}
else
- m_rSearchThread = new SearchAndParseThread( this, rSearchURL, false );
+ m_pSearchThread = new SearchAndParseThread( this, rSearchURL, false );
- m_rSearchThread->launch();
+ m_pSearchThread->launch();
}
IMPL_LINK_NOARG_TYPED( SelectPersonaDialog, ActionOK, Button*, void )
@@ -171,30 +171,30 @@ IMPL_LINK_NOARG_TYPED( SelectPersonaDialog, ActionOK, Button*, void )
if( !aSelectedPersona.isEmpty() )
{
- m_rSearchThread = new SearchAndParseThread( this, aSelectedPersona, false );
- m_rSearchThread->launch();
+ m_pSearchThread = new SearchAndParseThread( this, aSelectedPersona, false );
+ m_pSearchThread->launch();
}
else
{
- if( m_rSearchThread.is() )
- m_rSearchThread->StopExecution();
+ if( m_pSearchThread.is() )
+ m_pSearchThread->StopExecution();
EndDialog( RET_OK );
}
}
IMPL_LINK_NOARG_TYPED( SelectPersonaDialog, ActionCancel, Button*, void )
{
- if( m_rSearchThread.is() )
- m_rSearchThread->StopExecution();
+ if( m_pSearchThread.is() )
+ m_pSearchThread->StopExecution();
EndDialog();
}
IMPL_LINK_TYPED( SelectPersonaDialog, SelectPersona, Button*, pButton, void )
{
- if( m_rSearchThread.is() )
- m_rSearchThread->StopExecution();
+ if( m_pSearchThread.is() )
+ m_pSearchThread->StopExecution();
for( sal_Int32 index = 0; index < 9; index++ )
{
diff --git a/cui/source/options/personalization.hxx b/cui/source/options/personalization.hxx
index 602de5276894..205b981a1fce 100644
--- a/cui/source/options/personalization.hxx
+++ b/cui/source/options/personalization.hxx
@@ -97,7 +97,7 @@ public:
explicit SelectPersonaDialog( vcl::Window *pParent );
virtual ~SelectPersonaDialog();
virtual void dispose() override;
- ::rtl::Reference< SearchAndParseThread > m_rSearchThread;
+ ::rtl::Reference< SearchAndParseThread > m_pSearchThread;
OUString GetSelectedPersona() const;
void SetProgress( const OUString& );