From 384f1c650183cc9f0449a37958042eb41cfb5431 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sun, 11 Dec 2016 17:23:39 +0900 Subject: Mark as local Change-Id: Ic8ed367a5774eb3a939163fb1c1fe9518c3d7d2d Reviewed-on: https://gerrit.libreoffice.org/31855 Tested-by: Jenkins Reviewed-by: Takeshi Abe --- cui/source/tabpages/tparea.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'cui') diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx index fdbcfc91030f..db7cd3fe9101 100644 --- a/cui/source/tabpages/tparea.cxx +++ b/cui/source/tabpages/tparea.cxx @@ -309,8 +309,9 @@ VclPtr SvxAreaTabPage::Create( vcl::Window* pWindow, return VclPtr::Create( pWindow, *rAttrs ); } +namespace { -VclPtr CreateFillStyleTabPage( sal_uInt16 nId, vcl::Window* pParent, const SfxItemSet& rSet ) +VclPtr lcl_CreateFillStyleTabPage( sal_uInt16 nId, vcl::Window* pParent, const SfxItemSet& rSet ) { CreateTabPage fnCreate = nullptr; switch(nId) @@ -326,6 +327,8 @@ VclPtr CreateFillStyleTabPage( sal_uInt16 nId, vcl::Window* pParent, return pRet; } +} + IMPL_LINK(SvxAreaTabPage, SelectFillTypeHdl_Impl, Button*, pButton, void) { sal_Int32 nPos = maBox.GetButtonPos( static_cast(pButton) ); @@ -333,7 +336,7 @@ IMPL_LINK(SvxAreaTabPage, SelectFillTypeHdl_Impl, Button*, pButton, void) { maBox.SelectButton(static_cast(pButton)); FillType eFillType = static_cast(maBox.GetCurrentButtonPos()); - m_pFillTabPage.disposeAndReset( CreateFillStyleTabPage(eFillType, m_pFillTab, m_rXFSet) ); + m_pFillTabPage.disposeAndReset( lcl_CreateFillStyleTabPage(eFillType, m_pFillTab, m_rXFSet) ); CreatePage( eFillType , m_pFillTabPage); } } -- cgit