summaryrefslogtreecommitdiffstats
path: root/cui/source/tabpages/tpline.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-01 14:12:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-02 09:58:41 +0200
commit3c80f4880d0d3a8f7c71d76877efe234f4f3629c (patch)
treeefbb64a152e15c125a2ada453585c8d32b4725d6 /cui/source/tabpages/tpline.cxx
parenttdf#115262 sc: fix cumulative placement error of images (diff)
downloadcore-3c80f4880d0d3a8f7c71d76877efe234f4f3629c.tar.gz
core-3c80f4880d0d3a8f7c71d76877efe234f4f3629c.zip
weld SvxLineTabDialog
Change-Id: Icb13a6eb2e8c6f6dbd3cf477051bc0bd682e2e7a Reviewed-on: https://gerrit.libreoffice.org/61193 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/tabpages/tpline.cxx')
-rw-r--r--cui/source/tabpages/tpline.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index 053389519570..eb6a22d3288d 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -71,7 +71,7 @@ const sal_uInt16 SvxLineTabPage::pLineRanges[] =
};
SvxLineTabPage::SvxLineTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs)
- : SfxTabPage(pParent, "cui/ui/linetabpage.ui", "SvxLineTabPage", &rInAttrs)
+ : SfxTabPage(pParent, "cui/ui/linetabpage.ui", "LineTabPage", &rInAttrs)
, m_pSymbolList(nullptr)
, m_bNewSize(false)
, m_nNumMenuGalleryItems(0)
@@ -258,7 +258,7 @@ void SvxLineTabPage::ActivatePage( const SfxItemSet& rSet )
( *m_pnDashListState & ChangeType::CHANGED ) )
{
if( *m_pnDashListState & ChangeType::CHANGED )
- m_pDashList = static_cast<SvxLineTabDialog*>( GetParentDialog() )->GetNewDashList();
+ m_pDashList = static_cast<SvxLineTabDialog*>(GetDialogController() )->GetNewDashList();
*m_pnDashListState = ChangeType::NONE;
@@ -287,7 +287,7 @@ void SvxLineTabPage::ActivatePage( const SfxItemSet& rSet )
if( ( *m_pnLineEndListState & ChangeType::MODIFIED ) || ( *m_pnLineEndListState & ChangeType::CHANGED ) )
{
if( *m_pnLineEndListState & ChangeType::CHANGED )
- m_pLineEndList = static_cast<SvxLineTabDialog*>( GetParentDialog() )->GetNewLineEndList();
+ m_pLineEndList = static_cast<SvxLineTabDialog*>(GetDialogController())->GetNewLineEndList();
*m_pnLineEndListState = ChangeType::NONE;
@@ -342,7 +342,7 @@ void SvxLineTabPage::ActivatePage( const SfxItemSet& rSet )
if( *m_pnColorListState != ChangeType::NONE )
{
if( *m_pnColorListState & ChangeType::CHANGED )
- m_pColorList = static_cast<SvxLineTabDialog*>( GetParentDialog() )->GetNewColorList();
+ m_pColorList = static_cast<SvxLineTabDialog*>(GetDialogController())->GetNewColorList();
ChangePreviewHdl_Impl( nullptr );
}