summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/paragrph.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-20 10:44:16 +0200
committerNoel Grandin <noel@peralex.com>2015-03-23 09:42:23 +0200
commit9559cef61d0ca9159ef095fe28fc68121a8d30d3 (patch)
treeeb7d1b00941f9d6b9e53b00ac8eabdf3aa10dcc1 /cui/source/tabpages/paragrph.cxx
parenta46096884f5ab09d221694d40517628d85d25fc9 (diff)
loplugin:constantfunction: cui
Change-Id: I4bbfbd526f78c4806d6fc85a4011cbc4ef3a25fa
Diffstat (limited to 'cui/source/tabpages/paragrph.cxx')
-rw-r--r--cui/source/tabpages/paragrph.cxx21
1 files changed, 3 insertions, 18 deletions
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 09a389475aa0..7d1e2792d614 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -53,7 +53,7 @@
#include <svl/intitem.hxx>
#include <boost/scoped_ptr.hpp>
-static const sal_uInt16 pStdRanges[] =
+const sal_uInt16 SvxStdParagraphTabPage::pStdRanges[] =
{
SID_ATTR_PARA_LINESPACE, // 10033
SID_ATTR_PARA_LINESPACE,
@@ -64,14 +64,14 @@ static const sal_uInt16 pStdRanges[] =
0
};
-static const sal_uInt16 pAlignRanges[] =
+const sal_uInt16 SvxParaAlignTabPage::pAlignRanges[] =
{
SID_ATTR_PARA_ADJUST, // 10027
SID_ATTR_PARA_ADJUST,
0
};
-static const sal_uInt16 pExtRanges[] =
+const sal_uInt16 SvxExtParagraphTabPage::pExtRanges[] =
{
SID_ATTR_PARA_PAGEBREAK, // 10037 -
SID_ATTR_PARA_WIDOWS, // 10041
@@ -667,11 +667,6 @@ void SvxStdParagraphTabPage::EnableNegativeMode()
bNegativeIndents = true;
}
-const sal_uInt16* SvxStdParagraphTabPage::GetRanges()
-{
- return pStdRanges;
-}
-
void SvxStdParagraphTabPage::SetLineSpacing_Impl
(
const SvxLineSpacingItem &rAttr
@@ -1037,11 +1032,6 @@ SfxTabPage* SvxParaAlignTabPage::Create( vcl::Window* pParent, const SfxItemSet*
return new SvxParaAlignTabPage(pParent, *rSet);
}
-const sal_uInt16* SvxParaAlignTabPage::GetRanges()
-{
- return pAlignRanges;
-}
-
bool SvxParaAlignTabPage::FillItemSet( SfxItemSet* rOutSet )
{
bool bModified = false;
@@ -1913,11 +1903,6 @@ SvxExtParagraphTabPage::~SvxExtParagraphTabPage()
{
}
-const sal_uInt16* SvxExtParagraphTabPage::GetRanges()
-{
- return pExtRanges;
-}
-
IMPL_LINK_NOARG(SvxExtParagraphTabPage, PageBreakHdl_Impl)
{
switch ( m_pPageBreakBox->GetState() )