diff options
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 6 | ||||
-rw-r--r-- | cui/source/tabpages/backgrnd.cxx | 4 | ||||
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 10 | ||||
-rw-r--r-- | cui/source/tabpages/connect.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/grfpage.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/macroass.cxx | 4 | ||||
-rw-r--r-- | cui/source/tabpages/measure.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/numfmt.cxx | 4 | ||||
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/swpossizetabpage.cxx | 6 | ||||
-rw-r--r-- | cui/source/tabpages/tpgradnt.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tphatch.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tpline.cxx | 10 | ||||
-rw-r--r-- | cui/source/tabpages/tplnedef.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tptrans.cxx | 2 |
15 files changed, 30 insertions, 30 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 308fa651eb78..477a6e278af1 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -157,7 +157,7 @@ void OfaAutoCorrDlg::EnableLanguage(bool bEnable) } static bool lcl_FindEntry( ListBox& rLB, const OUString& rEntry, - CollatorWrapper& rCmpClass ) + CollatorWrapper const & rCmpClass ) { sal_Int32 nCount = rLB.GetEntryCount(); sal_Int32 nSelPos = rLB.GetSelectEntryPos(); @@ -1219,7 +1219,7 @@ IMPL_LINK(OfaAutocorrReplacePage, NewDelActionHdl, AutoCorrEdit&, rEdit, bool) { return NewDelHdl(&rEdit); } -bool OfaAutocorrReplacePage::NewDelHdl(void* pBtn) +bool OfaAutocorrReplacePage::NewDelHdl(void const * pBtn) { SvTreeListEntry* pEntry = m_pReplaceTLB->FirstSelected(); if( pBtn == m_pDeleteReplacePB ) @@ -1670,7 +1670,7 @@ IMPL_LINK(OfaAutocorrExceptPage, NewDelActionHdl, AutoCorrEdit&, rEdit, bool) return NewDelHdl(&rEdit); } -bool OfaAutocorrExceptPage::NewDelHdl(void* pBtn) +bool OfaAutocorrExceptPage::NewDelHdl(void const * pBtn) { if((pBtn == m_pNewAbbrevPB || pBtn == m_pAbbrevED.get() ) && !m_pAbbrevED->GetText().isEmpty()) diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx index 6e82f808fb38..a338057e7a1a 100644 --- a/cui/source/tabpages/backgrnd.cxx +++ b/cui/source/tabpages/backgrnd.cxx @@ -98,7 +98,7 @@ struct SvxBackgroundPage_Impl }; /// Returns the fill style of the currently selected entry. -static drawing::FillStyle lcl_getFillStyle(ListBox* pLbSelect) +static drawing::FillStyle lcl_getFillStyle(ListBox const * pLbSelect) { return (drawing::FillStyle)reinterpret_cast<sal_uLong>(pLbSelect->GetSelectEntryData()); } @@ -116,7 +116,7 @@ static void lcl_setFillStyle(ListBox* pLbSelect, drawing::FillStyle eStyle) } } -sal_uInt16 GetItemId_Impl( ValueSet& rValueSet, const Color& rCol ) +sal_uInt16 GetItemId_Impl( ValueSet const & rValueSet, const Color& rCol ) { bool bFound = false; sal_uInt16 nCount = rValueSet.GetItemCount(); diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index fa1054c2a9ca..8c67cf48f2e3 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -456,7 +456,7 @@ const FontList* SvxCharNamePage::GetFontList() const namespace { FontMetric calcFontMetrics( SvxFont& _rFont, - SvxCharNamePage* _pPage, + SvxCharNamePage const * _pPage, const FontNameBox* _pFontNameLB, const FontStyleBox* _pFontStyleLB, const FontSizeBox* _pFontSizeLB, @@ -1173,14 +1173,14 @@ IMPL_LINK( SvxCharNamePage, FontModifyEditHdl_Impl, Edit&, rBox, void ) { FontModifyHdl_Impl(&rBox); } -void SvxCharNamePage::FontModifyHdl_Impl(void* pNameBox) +void SvxCharNamePage::FontModifyHdl_Impl(void const * pNameBox) { m_pImpl->m_aUpdateIdle.Start(); if ( m_pWestFontNameLB == pNameBox || m_pEastFontNameLB == pNameBox || m_pCTLFontNameLB == pNameBox ) { - FillStyleBox_Impl( static_cast<FontNameBox*>(pNameBox) ); - FillSizeBox_Impl( static_cast<FontNameBox*>(pNameBox) ); + FillStyleBox_Impl( static_cast<FontNameBox const *>(pNameBox) ); + FillSizeBox_Impl( static_cast<FontNameBox const *>(pNameBox) ); } } @@ -1254,7 +1254,7 @@ void SvxCharNamePage::SetFontList( const SvxFontListItem& rItem ) namespace { - void enableRelativeMode( SvxCharNamePage* _pPage, FontSizeBox* _pFontSizeLB, sal_uInt16 _nHeightWhich ) + void enableRelativeMode( SvxCharNamePage const * _pPage, FontSizeBox* _pFontSizeLB, sal_uInt16 _nHeightWhich ) { _pFontSizeLB->EnableRelativeMode( 5, 995 ); // min 5%, max 995%, step 5 diff --git a/cui/source/tabpages/connect.cxx b/cui/source/tabpages/connect.cxx index 2060dabdd87e..aedcdeec4946 100644 --- a/cui/source/tabpages/connect.cxx +++ b/cui/source/tabpages/connect.cxx @@ -403,7 +403,7 @@ IMPL_LINK( SvxConnectionPage, ChangeAttrEditHdl_Impl, Edit&, r, void ) { ChangeAttrHdl_Impl(&r); } -void SvxConnectionPage::ChangeAttrHdl_Impl(void* p) +void SvxConnectionPage::ChangeAttrHdl_Impl(void const * p) { if( p == m_pMtrFldHorz1 ) { diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx index 4d95cf2fabe8..3661f5b74de4 100644 --- a/cui/source/tabpages/grfpage.cxx +++ b/cui/source/tabpages/grfpage.cxx @@ -40,7 +40,7 @@ #define TWIP_TO_INCH 1440 -static inline long lcl_GetValue( MetricField& rMetric, FieldUnit eUnit ) +static inline long lcl_GetValue( MetricField const & rMetric, FieldUnit eUnit ) { return static_cast<long>(rMetric.Denormalize( rMetric.GetValue( eUnit ))); } diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx index a2b61d49e812..a1a576b1b064 100644 --- a/cui/source/tabpages/macroass.cxx +++ b/cui/source/tabpages/macroass.cxx @@ -92,7 +92,7 @@ static long nTabs[] = #define LB_MACROS_ITEMPOS 2 -OUString ConvertToUIName_Impl( SvxMacro *pMacro ) +OUString ConvertToUIName_Impl( SvxMacro const *pMacro ) { OUString aName( pMacro->GetMacName() ); OUString aEntry; @@ -312,7 +312,7 @@ IMPL_LINK( SfxMacroTabPage, AssignDeleteHdl_Impl, SvTreeListBox*, pBtn, bool ) return AssignDeleteHdl(pBtn); } -bool SfxMacroTabPage::AssignDeleteHdl(Control* pBtn) +bool SfxMacroTabPage::AssignDeleteHdl(Control const * pBtn) { SvHeaderTabListBox& rListBox = mpImpl->pEventLB->GetListBox(); SvTreeListEntry* pE = rListBox.FirstSelected(); diff --git a/cui/source/tabpages/measure.cxx b/cui/source/tabpages/measure.cxx index 4ffd4d87629b..86a3481f0f23 100644 --- a/cui/source/tabpages/measure.cxx +++ b/cui/source/tabpages/measure.cxx @@ -673,7 +673,7 @@ IMPL_LINK( SvxMeasurePage, ChangeAttrEditHdl_Impl, Edit&, rBox, void ) { ChangeAttrHdl_Impl(&rBox); } -void SvxMeasurePage::ChangeAttrHdl_Impl( void* p ) +void SvxMeasurePage::ChangeAttrHdl_Impl( void const * p ) { if( p == m_pMtrFldLineDist ) { diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx index e417c2548341..12378a6b356a 100644 --- a/cui/source/tabpages/numfmt.cxx +++ b/cui/source/tabpages/numfmt.cxx @@ -1521,7 +1521,7 @@ IMPL_LINK( SvxNumberFormatTabPage, EditModifyHdl_Impl, Edit&, rEdit, void ) { EditHdl_Impl(&rEdit); } -void SvxNumberFormatTabPage::EditHdl_Impl( Edit* pEdFormat ) +void SvxNumberFormatTabPage::EditHdl_Impl( Edit const * pEdFormat ) { sal_uInt32 nCurKey = NUMKEY_UNDEFINED; @@ -1596,7 +1596,7 @@ IMPL_LINK( SvxNumberFormatTabPage, OptEditHdl_Impl, Edit&, rEdit, void ) { OptHdl_Impl(&rEdit); } -void SvxNumberFormatTabPage::OptHdl_Impl( void* pOptCtrl ) +void SvxNumberFormatTabPage::OptHdl_Impl( void const * pOptCtrl ) { if ( (pOptCtrl == m_pEdLeadZeroes) || (pOptCtrl == m_pEdDecimals) diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 24d60aa85c14..7e6cfcfc1dc6 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -144,7 +144,7 @@ static const sal_Unicode aBulletTypes[] = }; // Is one of the masked formats set? -static bool lcl_IsNumFmtSet(SvxNumRule* pNum, sal_uInt16 nLevelMask) +static bool lcl_IsNumFmtSet(SvxNumRule const * pNum, sal_uInt16 nLevelMask) { bool bRet = false; sal_uInt16 nMask = 1; diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx index 3dca342abc17..f75e1460ffe5 100644 --- a/cui/source/tabpages/swpossizetabpage.cxx +++ b/cui/source/tabpages/swpossizetabpage.cxx @@ -1396,7 +1396,7 @@ IMPL_LINK_NOARG(SvxSwPosSizeTabPage, ProtectHdl, Button*, void) m_pSizeCB->Enable(m_pPositionCB->IsEnabled() && !m_pPositionCB->IsChecked()); } -short SvxSwPosSizeTabPage::GetRelation(FrmMap *, ListBox &rRelationLB) +short SvxSwPosSizeTabPage::GetRelation(FrmMap *, ListBox const &rRelationLB) { short nRel = 0; sal_Int32 nPos = rRelationLB.GetSelectEntryPos(); @@ -1410,7 +1410,7 @@ short SvxSwPosSizeTabPage::GetRelation(FrmMap *, ListBox &rRelationLB) return nRel; } -short SvxSwPosSizeTabPage::GetAlignment(FrmMap *pMap, sal_uInt16 nMapPos, ListBox &/*rAlignLB*/, ListBox &rRelationLB) +short SvxSwPosSizeTabPage::GetAlignment(FrmMap *pMap, sal_uInt16 nMapPos, ListBox &/*rAlignLB*/, ListBox const &rRelationLB) { short nAlign = 0; @@ -1445,7 +1445,7 @@ short SvxSwPosSizeTabPage::GetAlignment(FrmMap *pMap, sal_uInt16 nMapPos, ListBo return nAlign; } -sal_uInt16 SvxSwPosSizeTabPage::GetMapPos(FrmMap *pMap, ListBox &rAlignLB) +sal_uInt16 SvxSwPosSizeTabPage::GetMapPos(FrmMap *pMap, ListBox const &rAlignLB) { sal_uInt16 nMapPos = 0; sal_Int32 nLBSelPos = rAlignLB.GetSelectEntryPos(); diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx index e7dd9822abb5..aa58716c61cf 100644 --- a/cui/source/tabpages/tpgradnt.cxx +++ b/cui/source/tabpages/tpgradnt.cxx @@ -319,7 +319,7 @@ IMPL_LINK_NOARG( SvxGradientTabPage, ChangeAutoStepHdl_Impl, CheckBox&, void ) ModifiedHdl_Impl(m_pMtrIncrement); } -void SvxGradientTabPage::ModifiedHdl_Impl( void* pControl ) +void SvxGradientTabPage::ModifiedHdl_Impl( void const * pControl ) { if( pControl == m_pMtrBorder ) m_pSliderBorder->SetThumbPos( m_pMtrBorder->GetValue() ); diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx index 951fcdfb2e85..ca9c2abb777e 100644 --- a/cui/source/tabpages/tphatch.cxx +++ b/cui/source/tabpages/tphatch.cxx @@ -354,7 +354,7 @@ IMPL_LINK( SvxHatchTabPage, ModifiedSliderHdl_Impl, Slider*, rSlider, void ) ModifiedHdl_Impl(rSlider); m_pHatchLB->SetNoSelection(); } -void SvxHatchTabPage::ModifiedHdl_Impl( void* p ) +void SvxHatchTabPage::ModifiedHdl_Impl( void const * p ) { if( p == m_pMtrAngle ) m_pSliderAngle->SetThumbPos( m_pMtrAngle->GetValue() ); diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx index 8e1293bd3007..01a0417e50d7 100644 --- a/cui/source/tabpages/tpline.cxx +++ b/cui/source/tabpages/tpline.cxx @@ -272,7 +272,7 @@ void SvxLineTabPage::Construct() FillListboxes(); } -void SvxLineTabPage::InitSymbols(MenuButton* pButton) +void SvxLineTabPage::InitSymbols(MenuButton const * pButton) { // Initialize popup if(!pButton->GetPopupMenu()->GetPopupMenu( MN_GALLERY )) @@ -421,7 +421,7 @@ void SvxLineTabPage::InitSymbols(MenuButton* pButton) } } -void SvxLineTabPage::SymbolSelected(MenuButton* pButton) +void SvxLineTabPage::SymbolSelected(MenuButton const * pButton) { sal_uInt16 nItemId = pButton->GetCurItemId(); const Graphic* pGraphic = nullptr; @@ -1491,7 +1491,7 @@ IMPL_LINK( SvxLineTabPage, ChangePreviewModifyHdl_Impl, Edit&, rEdit, void ) { ChangePreviewHdl_Impl(&rEdit); } -void SvxLineTabPage::ChangePreviewHdl_Impl(void * pCntrl ) +void SvxLineTabPage::ChangePreviewHdl_Impl(void const * pCntrl ) { if(pCntrl == m_pMtrLineWidth) { @@ -1563,7 +1563,7 @@ IMPL_LINK( SvxLineTabPage, ChangeStartModifyHdl_Impl, Edit&, rEdit, void ) { ChangeStartHdl_Impl(&rEdit); } -void SvxLineTabPage::ChangeStartHdl_Impl( void * p ) +void SvxLineTabPage::ChangeStartHdl_Impl( void const * p ) { if( m_pCbxSynchronize->IsChecked() ) { @@ -1638,7 +1638,7 @@ IMPL_LINK( SvxLineTabPage, ChangeEndModifyHdl_Impl, Edit&, rEdit, void ) { ChangeEndHdl_Impl(&rEdit); } -void SvxLineTabPage::ChangeEndHdl_Impl( void * p ) +void SvxLineTabPage::ChangeEndHdl_Impl( void const * p ) { if( m_pCbxSynchronize->IsChecked() ) { diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx index ab570642ef69..28984fa50ec7 100644 --- a/cui/source/tabpages/tplnedef.cxx +++ b/cui/source/tabpages/tplnedef.cxx @@ -353,7 +353,7 @@ IMPL_LINK( SvxLineDefTabPage, SelectLinestyleListBoxHdl_Impl, ListBox&, rListBox SelectLinestyleHdl_Impl(&rListBox); } -void SvxLineDefTabPage::SelectLinestyleHdl_Impl(ListBox* p) +void SvxLineDefTabPage::SelectLinestyleHdl_Impl(ListBox const * p) { if(pDashList->Count()) { diff --git a/cui/source/tabpages/tptrans.cxx b/cui/source/tabpages/tptrans.cxx index fd1c5517ddfd..941f4f1901ce 100644 --- a/cui/source/tabpages/tptrans.cxx +++ b/cui/source/tabpages/tptrans.cxx @@ -148,7 +148,7 @@ IMPL_LINK(SvxTransparenceTabPage, ModifiedTrgrEditHdl_Impl, Edit&, rBox, void) ModifiedTrgrHdl_Impl(&rBox); } -void SvxTransparenceTabPage::ModifiedTrgrHdl_Impl(void* pControl) +void SvxTransparenceTabPage::ModifiedTrgrHdl_Impl(void const * pControl) { if(pControl == m_pLbTrgrGradientType || pControl == this) { |