diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-08-09 11:30:35 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-08-10 21:51:45 +0200 |
commit | 8f08ad4deeb0e5bce7a137ff1d678b71ce74377a (patch) | |
tree | f7e409793134d3cc2c44a057a279fed8d34f5281 /svx/source | |
parent | b68ad0ba9ceb8bdfc9fc3a3211c254824d38c267 (diff) |
Minor cleanup.
Change-Id: I087043b36d59e1a76c6fe12a5a684c4137eca2d9
Signed-off-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/tbxctrls/tbunosearchcontrollers.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index 4deaf8c5f545..d645ba9984e1 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx +++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx @@ -119,7 +119,7 @@ void FindTextFieldControl::Remember_Impl(const String& rStr) void FindTextFieldControl::SetTextToSelected_Impl() { - OUString aString; + rtl::OUString aString; try { @@ -212,7 +212,7 @@ long FindTextFieldControl::PreNotify( NotifyEvent& rNEvt ) case EVENT_GETFOCUS: if ( m_bToClearTextField ) { - SetText( OUString() ); + SetText( rtl::OUString() ); m_bToClearTextField = sal_False; } SetSelection( Selection( SELECTION_MIN, SELECTION_MAX ) ); @@ -257,21 +257,21 @@ SearchToolbarControllersManager& SearchToolbarControllersManager::createControll return theSearchToolbarControllersManager::get(); } -void SearchToolbarControllersManager::saveSearchHistory(const FindTextFieldControl* m_pFindTextFieldControl) +void SearchToolbarControllersManager::saveSearchHistory(const FindTextFieldControl* pFindTextFieldControl) { - sal_uInt16 nECount( m_pFindTextFieldControl->GetEntryCount() ); - aSearchStrings.resize( nECount ); + sal_uInt16 nECount( pFindTextFieldControl->GetEntryCount() ); + m_aSearchStrings.resize( nECount ); for( sal_uInt16 i=0; i<nECount; ++i ) { - aSearchStrings[i] = m_pFindTextFieldControl->GetEntry(i); + m_aSearchStrings[i] = pFindTextFieldControl->GetEntry(i); } } -void SearchToolbarControllersManager::loadSearchHistory(FindTextFieldControl* m_pFindTextFieldControl) +void SearchToolbarControllersManager::loadSearchHistory(FindTextFieldControl* pFindTextFieldControl) { - for( sal_uInt16 i=0; i<aSearchStrings.size(); ++i ) + for( sal_uInt16 i=0; i<m_aSearchStrings.size(); ++i ) { - m_pFindTextFieldControl->InsertEntry(aSearchStrings[i],i); + pFindTextFieldControl->InsertEntry(m_aSearchStrings[i],i); } } |