summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-12-11 17:23:39 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-12-12 07:30:57 +0000
commit384f1c650183cc9f0449a37958042eb41cfb5431 (patch)
tree247d779d95547171f0f43def690f5dbfd9fdace6 /cui
parent7b0c57b2faec875c790051d233d1e9abaed2a3bc (diff)
Mark as local
Change-Id: Ic8ed367a5774eb3a939163fb1c1fe9518c3d7d2d Reviewed-on: https://gerrit.libreoffice.org/31855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/tparea.cxx7
1 files changed, 5 insertions, 2 deletions
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<SfxTabPage> SvxAreaTabPage::Create( vcl::Window* pWindow,
return VclPtr<SvxAreaTabPage>::Create( pWindow, *rAttrs );
}
+namespace {
-VclPtr<SfxTabPage> CreateFillStyleTabPage( sal_uInt16 nId, vcl::Window* pParent, const SfxItemSet& rSet )
+VclPtr<SfxTabPage> lcl_CreateFillStyleTabPage( sal_uInt16 nId, vcl::Window* pParent, const SfxItemSet& rSet )
{
CreateTabPage fnCreate = nullptr;
switch(nId)
@@ -326,6 +327,8 @@ VclPtr<SfxTabPage> CreateFillStyleTabPage( sal_uInt16 nId, vcl::Window* pParent,
return pRet;
}
+}
+
IMPL_LINK(SvxAreaTabPage, SelectFillTypeHdl_Impl, Button*, pButton, void)
{
sal_Int32 nPos = maBox.GetButtonPos( static_cast<PushButton*>(pButton) );
@@ -333,7 +336,7 @@ IMPL_LINK(SvxAreaTabPage, SelectFillTypeHdl_Impl, Button*, pButton, void)
{
maBox.SelectButton(static_cast<PushButton*>(pButton));
FillType eFillType = static_cast<FillType>(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);
}
}