diff options
Diffstat (limited to 'sw/source/ui/dbui/mmaddressblockpage.cxx')
-rw-r--r-- | sw/source/ui/dbui/mmaddressblockpage.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx index 7ded7e7b9fc9..f7836e88b1d8 100644 --- a/sw/source/ui/dbui/mmaddressblockpage.cxx +++ b/sw/source/ui/dbui/mmaddressblockpage.cxx @@ -259,7 +259,7 @@ IMPL_LINK(SwMailMergeAddressBlockPage, HideParagraphsHdl_Impl, weld::ToggleButto rConfigItem.SetHideEmptyParagraphs(rBox.get_active()); } -void SwMailMergeAddressBlockPage::InsertDataHdl(weld::Button* pButton) +void SwMailMergeAddressBlockPage::InsertDataHdl(const weld::Button* pButton) { //if no pButton is given, the first set has to be pre-set SwMailMergeConfigItem& rConfig = m_pWizard->GetConfigItem(); @@ -601,7 +601,7 @@ IMPL_LINK(SwCustomizeAddressBlockDialog, ImageButtonHdl_Impl, weld::Button&, rBu UpdateImageButtons_Impl(); } -sal_Int32 SwCustomizeAddressBlockDialog::GetSelectedItem_Impl() +sal_Int32 SwCustomizeAddressBlockDialog::GetSelectedItem_Impl() const { sal_Int32 nRet = USER_DATA_NONE; const OUString sSelected = m_xDragED->GetCurrentItem(); @@ -738,7 +738,7 @@ void SwCustomizeAddressBlockDialog::SetAddress(const OUString& rAddress) EditModifyHdl_Impl(*m_xDragED); } -OUString SwCustomizeAddressBlockDialog::GetAddress() +OUString SwCustomizeAddressBlockDialog::GetAddress() const { OUString sAddress(m_xDragED->GetAddress()); //remove placeholders by the actual content @@ -1296,7 +1296,7 @@ void AddressMultiLineEdit::MoveCurrentItem(MoveItemFlags nMove) m_aModifyLink.Call(*this); } -MoveItemFlags AddressMultiLineEdit::IsCurrentItemMoveable() +MoveItemFlags AddressMultiLineEdit::IsCurrentItemMoveable() const { MoveItemFlags nRet = MoveItemFlags::NONE; ESelection aSelection = m_xEditView->GetSelection(); @@ -1319,7 +1319,7 @@ MoveItemFlags AddressMultiLineEdit::IsCurrentItemMoveable() return nRet; } -bool AddressMultiLineEdit::HasCurrentItem() +bool AddressMultiLineEdit::HasCurrentItem() const { ESelection aSelection = m_xEditView->GetSelection(); @@ -1332,7 +1332,7 @@ bool AddressMultiLineEdit::HasCurrentItem() && pBeginAttrib->nEnd >= aSelection.nEndPos)); } -OUString AddressMultiLineEdit::GetCurrentItem() +OUString AddressMultiLineEdit::GetCurrentItem() const { ESelection aSelection = m_xEditView->GetSelection(); @@ -1370,7 +1370,7 @@ void AddressMultiLineEdit::SelectCurrentItem() } } -OUString AddressMultiLineEdit::GetAddress() +OUString AddressMultiLineEdit::GetAddress() const { OUString sRet; const sal_uInt32 nParaCount = m_xEditEngine->GetParagraphCount(); |