From 64d764e02a848ed243409092d3fdcb4775db5153 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 29 Sep 2018 14:06:42 +0100 Subject: weld SvxLineEndDefTabPage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3e947511bbffae4cd48388b17a8fb9a13d453bab Reviewed-on: https://gerrit.libreoffice.org/61139 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sd/source/ui/dlg/PhotoAlbumDialog.cxx | 8 ++++---- sd/source/ui/dlg/custsdlg.cxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx b/sd/source/ui/dlg/PhotoAlbumDialog.cxx index 683264b1daa4..403876b7c3da 100644 --- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx +++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx @@ -550,8 +550,8 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, UpHdl, weld::Button&, void) m_xImagesLst->remove_text(sActEntry); m_xImagesLst->remove_text(sUpperEntry); - m_xImagesLst->insert(nActPos - 1, sAct, sActEntry, nullptr); - m_xImagesLst->insert(nActPos, sUpper, sUpperEntry, nullptr); + m_xImagesLst->insert(nActPos - 1, sAct, sActEntry, nullptr, nullptr); + m_xImagesLst->insert(nActPos, sUpper, sUpperEntry, nullptr, nullptr); m_xImagesLst->select(nActPos - 1); } @@ -573,8 +573,8 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, DownHdl, weld::Button&, void) m_xImagesLst->remove_text(sActEntry); m_xImagesLst->remove_text(sDownEntry); - m_xImagesLst->insert(nActPos, sDown, sDownEntry, nullptr); - m_xImagesLst->insert(nActPos + 1, sAct, sActEntry, nullptr); + m_xImagesLst->insert(nActPos, sDown, sDownEntry, nullptr, nullptr); + m_xImagesLst->insert(nActPos + 1, sAct, sActEntry, nullptr, nullptr); m_xImagesLst->select(nActPos + 1); } diff --git a/sd/source/ui/dlg/custsdlg.cxx b/sd/source/ui/dlg/custsdlg.cxx index 3dfc611bbbb2..b7b384073666 100644 --- a/sd/source/ui/dlg/custsdlg.cxx +++ b/sd/source/ui/dlg/custsdlg.cxx @@ -378,7 +378,7 @@ void SdDefineCustomShowDlg::ClickButtonHdl2(void const * p) { OUString aStr = m_xLbPages->get_text(i); SdPage* pPage = rDoc.GetSdPage(i, PageKind::Standard); - m_xLbCustomPages->insert(nPosCP, OUString::number(reinterpret_cast(pPage)), aStr, nullptr); + m_xLbCustomPages->insert(nPosCP, OUString::number(reinterpret_cast(pPage)), aStr, nullptr, nullptr); m_xLbCustomPages->select(nPosCP != -1 ? nPosCP : m_xLbCustomPages->n_children() - 1); if (nPosCP != -1) -- cgit