[Libreoffice-commits] core.git: cui/source

Takeshi Abe tabe at fixedpoint.jp
Mon Dec 12 07:31:28 UTC 2016


 cui/source/tabpages/tparea.cxx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 384f1c650183cc9f0449a37958042eb41cfb5431
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Sun Dec 11 17:23:39 2016 +0900

    Mark as local
    
    Change-Id: Ic8ed367a5774eb3a939163fb1c1fe9518c3d7d2d
    Reviewed-on: https://gerrit.libreoffice.org/31855
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Takeshi Abe <tabe at fixedpoint.jp>

diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index fdbcfc9..db7cd3f 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);
     }
 }


More information about the Libreoffice-commits mailing list