summaryrefslogtreecommitdiff
path: root/sw/source/ui/config
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-29 17:05:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-29 18:29:59 +0200
commit0acd47f68e3efb46dafd866ee95497da818fa34f (patch)
treee7bc16002983079713868dd91478d24aac6cfed3 /sw/source/ui/config
parent17cb3391ece392497eeff4ed32cbf89b4bcb5825 (diff)
Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/END
...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
Diffstat (limited to 'sw/source/ui/config')
-rw-r--r--sw/source/ui/config/optload.cxx3
-rw-r--r--sw/source/ui/config/optpage.cxx9
2 files changed, 4 insertions, 8 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index 84cf08a300f8..9764b8f22cb6 100644
--- a/sw/source/ui/config/optload.cxx
+++ b/sw/source/ui/config/optload.cxx
@@ -843,12 +843,11 @@ IMPL_LINK_NOARG(SwCaptionOptPage, ModifyHdl)
return 0;
}
-IMPL_LINK_NOARG_INLINE_START(SwCaptionOptPage, SelectHdl)
+IMPL_LINK_NOARG(SwCaptionOptPage, SelectHdl)
{
DrawSample();
return 0;
}
-IMPL_LINK_NOARG_INLINE_END(SwCaptionOptPage, SelectHdl)
IMPL_LINK( SwCaptionOptPage, OrderHdl, ListBox*, pBox )
{
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 287429ba43e6..4b02931e58eb 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -503,7 +503,7 @@ void SwAddPrinterTabPage::Reset( const SfxItemSet* )
m_pProspectCB_RTL->Enable( false );
}
-IMPL_LINK_NOARG_INLINE_START(SwAddPrinterTabPage, AutoClickHdl)
+IMPL_LINK_NOARG(SwAddPrinterTabPage, AutoClickHdl)
{
bAttrModified = true;
bool bIsProspect = m_pProspectCB->IsChecked();
@@ -517,7 +517,6 @@ IMPL_LINK_NOARG_INLINE_START(SwAddPrinterTabPage, AutoClickHdl)
m_pInMarginsRB->Enable( !bIsProspect );
return 0;
}
-IMPL_LINK_NOARG_INLINE_END(SwAddPrinterTabPage, AutoClickHdl)
void SwAddPrinterTabPage::SetFax( const std::vector<OUString>& rFaxLst )
{
@@ -529,12 +528,11 @@ void SwAddPrinterTabPage::SetFax( const std::vector<OUString>& rFaxLst )
m_pFaxLB->SelectEntryPos(0);
}
-IMPL_LINK_NOARG_INLINE_START(SwAddPrinterTabPage, SelectHdl)
+IMPL_LINK_NOARG(SwAddPrinterTabPage, SelectHdl)
{
bAttrModified=true;
return 0;
}
-IMPL_LINK_NOARG_INLINE_END(SwAddPrinterTabPage, SelectHdl)
void SwAddPrinterTabPage::PageCreated( const SfxAllItemSet& aSet)
{
@@ -2603,12 +2601,11 @@ void SwTestTabPage::Init()
m_pTest10CBox->SetClickHdl( aLk );
}
-IMPL_LINK_NOARG_INLINE_START(SwTestTabPage, AutoClickHdl)
+IMPL_LINK_NOARG(SwTestTabPage, AutoClickHdl)
{
bAttrModified = true;
return 0;
}
-IMPL_LINK_NOARG_INLINE_END(SwTestTabPage, AutoClickHdl)
#endif