diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 17:18:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 10:21:06 +0200 |
commit | 9d56ec4e4d498193b6553c5a8c65ddce88a2d925 (patch) | |
tree | 84217163575c7fc2335a6ffa8c5ebd1eca1ff64b /cui | |
parent | 93fed09bfbeae299aa56c7c6d929d57607ac087b (diff) |
UpdateFormatListBox_Impl bCat param wants to be of type bool
Change-Id: Idf6831ef21cf94926667ca532d9df2a18926e452
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/inc/numfmt.hxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/numfmt.cxx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx index edf9e40c8c17..9a6172a5a753 100644 --- a/cui/source/inc/numfmt.hxx +++ b/cui/source/inc/numfmt.hxx @@ -136,7 +136,7 @@ private: void FillCurrencyBox(); void FillFormatListBox_Impl( std::vector<OUString>& rEntries ); void UpdateOptions_Impl( bool bCheckCatChange ); - void UpdateFormatListBox_Impl( sal_uInt16 bCat, bool bUpdateEdit ); + void UpdateFormatListBox_Impl( bool bCat, bool bUpdateEdit ); void Obstructing(); void EnableBySourceFormat_Impl(); void SetCategory( sal_uInt16 nPos ); diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx index da6c8e198d05..bc6f14273893 100644 --- a/cui/source/tabpages/numfmt.cxx +++ b/cui/source/tabpages/numfmt.cxx @@ -567,7 +567,7 @@ void SvxNumberFormatTabPage::Reset( const SfxItemSet* rSet ) m_pLbLanguage->SelectLanguage( eLangType ); if(pAutoEntryAttr) AddAutomaticLanguage_Impl(eLangType, pAutoEntryAttr->GetValue()); - UpdateFormatListBox_Impl(sal_False,true); + UpdateFormatListBox_Impl(false,true); //! This spoils everything because it rematches currency formats based on //! the selected m_pLbCurrency entry instead of the current format. @@ -925,7 +925,7 @@ void SvxNumberFormatTabPage::UpdateOptions_Impl( bool bCheckCatChange /*= sal_Fa else SetCategory(nCategory ); - UpdateFormatListBox_Impl( sal_True, false ); + UpdateFormatListBox_Impl( true, false ); } } else if ( m_pLbFormat->GetEntryCount() > 0 ) @@ -998,7 +998,7 @@ void SvxNumberFormatTabPage::UpdateOptions_Impl( bool bCheckCatChange /*= sal_Fa void SvxNumberFormatTabPage::UpdateFormatListBox_Impl ( - sal_uInt16 bCat, // Category or country/language ListBox? + bool bCat, // Category or country/language ListBox? bool bUpdateEdit ) { @@ -1225,7 +1225,7 @@ IMPL_LINK( SvxNumberFormatTabPage, SelFormatHdl_Impl, void *, pLb ) // category-ListBox ------------------------------------------------- if (pLb == m_pLbCategory || pLb == m_pLbCurrency) { - UpdateFormatListBox_Impl( sal_True, true ); + UpdateFormatListBox_Impl( true, true ); EditHdl_Impl( NULL ); UpdateOptions_Impl( false ); @@ -1236,7 +1236,7 @@ IMPL_LINK( SvxNumberFormatTabPage, SelFormatHdl_Impl, void *, pLb ) // language/country-ListBox ---------------------------------------------- if (pLb == m_pLbLanguage) { - UpdateFormatListBox_Impl( sal_False, true ); + UpdateFormatListBox_Impl( false, true ); EditHdl_Impl(m_pEdFormat); return 0; |