diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-08-09 11:30:35 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-08-09 11:30:35 +0200 |
commit | 9c9cf6ed4a64fd5f26e15d87d2745309d681aa2e (patch) | |
tree | cfdb03b48f99ab98d3773de2db8db20d948205f4 | |
parent | 3a1c8eeb694e26835f6f9c010b5d305b57ddd0d5 (diff) |
Minor cleanup.
Change-Id: I087043b36d59e1a76c6fe12a5a684c4137eca2d9
-rw-r--r-- | svx/inc/tbunosearchcontrollers.hxx | 2 | ||||
-rw-r--r-- | svx/source/tbxctrls/tbunosearchcontrollers.cxx | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/svx/inc/tbunosearchcontrollers.hxx b/svx/inc/tbunosearchcontrollers.hxx index 91ddec8ba12e..0118f519f43f 100644 --- a/svx/inc/tbunosearchcontrollers.hxx +++ b/svx/inc/tbunosearchcontrollers.hxx @@ -95,7 +95,7 @@ private: typedef ::comphelper::SequenceAsVector< css::beans::PropertyValue > SearchToolbarControllersVec; typedef ::std::map< css::uno::Reference< css::frame::XFrame >, SearchToolbarControllersVec > SearchToolbarControllersMap; SearchToolbarControllersMap aSearchToolbarControllersMap; - std::vector<rtl::OUString> aSearchStrings; + std::vector<rtl::OUString> m_aSearchStrings; }; diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index 2ad1cb17021d..6752dac6d5d5 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx +++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx @@ -246,21 +246,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); } } |