[Libreoffice-commits] .: svx/inc svx/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Thu Aug 9 02:36:12 PDT 2012
svx/inc/tbunosearchcontrollers.hxx | 2 +-
svx/source/tbxctrls/tbunosearchcontrollers.cxx | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
New commits:
commit 9c9cf6ed4a64fd5f26e15d87d2745309d681aa2e
Author: Jan Holesovsky <kendy at suse.cz>
Date: Thu Aug 9 11:30:35 2012 +0200
Minor cleanup.
Change-Id: I087043b36d59e1a76c6fe12a5a684c4137eca2d9
diff --git a/svx/inc/tbunosearchcontrollers.hxx b/svx/inc/tbunosearchcontrollers.hxx
index 91ddec8..0118f51 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 2ad1cb1..6752dac 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);
}
}
More information about the Libreoffice-commits
mailing list