summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-15 12:28:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-15 12:50:58 +0100
commit9007820dfba43475bc58ee8b0af9c7fd014999fb (patch)
tree8bd36b4db6e6f367df2eb267136c98909295b1a1 /editeng
parent45d9b1b57d72fa859bea399e8b383e460a12fb19 (diff)
loplugin:staticmethods in editeng
Change-Id: Ib1a45e69736beb034c1e99e8e0fcb10aef9ffb70 Reviewed-on: https://gerrit.libreoffice.org/63405 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/frmitems.cxx2
-rw-r--r--editeng/source/items/paraitem.cxx2
-rw-r--r--editeng/source/items/textitem.cxx12
3 files changed, 8 insertions, 8 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 976084b13b3c..3820048f4165 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -2729,7 +2729,7 @@ bool SvxFormatBreakItem::GetPresentation
return true;
}
-OUString SvxFormatBreakItem::GetValueTextByPos( sal_uInt16 nPos ) const
+OUString SvxFormatBreakItem::GetValueTextByPos( sal_uInt16 nPos )
{
static const char* RID_SVXITEMS_BREAK[] =
{
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx
index f216c93b354e..be4652018a42 100644
--- a/editeng/source/items/paraitem.cxx
+++ b/editeng/source/items/paraitem.cxx
@@ -372,7 +372,7 @@ sal_uInt16 SvxAdjustItem::GetValueCount() const
return sal_uInt16(SvxAdjust::End); // SvxAdjust::BlockLine + 1
}
-OUString SvxAdjustItem::GetValueTextByPos( sal_uInt16 nPos ) const
+OUString SvxAdjustItem::GetValueTextByPos( sal_uInt16 nPos )
{
static const char* RID_SVXITEMS_ADJUST[] =
{
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index 15c7f39a7bbb..1763dc69be5d 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -469,7 +469,7 @@ bool SvxPostureItem::GetPresentation
}
-OUString SvxPostureItem::GetValueTextByPos( sal_uInt16 nPos ) const
+OUString SvxPostureItem::GetValueTextByPos( sal_uInt16 nPos )
{
DBG_ASSERT( nPos <= sal_uInt16(ITALIC_NORMAL), "enum overflow!" );
@@ -615,7 +615,7 @@ bool SvxWeightItem::GetPresentation
return true;
}
-OUString SvxWeightItem::GetValueTextByPos( sal_uInt16 nPos ) const
+OUString SvxWeightItem::GetValueTextByPos( sal_uInt16 nPos )
{
static const char* RID_SVXITEMS_WEIGHTS[] =
{
@@ -1393,7 +1393,7 @@ bool SvxCrossedOutItem::GetPresentation
return true;
}
-OUString SvxCrossedOutItem::GetValueTextByPos( sal_uInt16 nPos ) const
+OUString SvxCrossedOutItem::GetValueTextByPos( sal_uInt16 nPos )
{
static const char* RID_SVXITEMS_STRIKEOUT[] =
{
@@ -1864,7 +1864,7 @@ bool SvxCaseMapItem::GetPresentation
return true;
}
-OUString SvxCaseMapItem::GetValueTextByPos( sal_uInt16 nPos ) const
+OUString SvxCaseMapItem::GetValueTextByPos( sal_uInt16 nPos )
{
static const char* RID_SVXITEMS_CASEMAP[] =
{
@@ -1988,7 +1988,7 @@ bool SvxEscapementItem::GetPresentation
return true;
}
-OUString SvxEscapementItem::GetValueTextByPos( sal_uInt16 nPos ) const
+OUString SvxEscapementItem::GetValueTextByPos( sal_uInt16 nPos )
{
static const char* RID_SVXITEMS_ESCAPEMENT[] =
{
@@ -2725,7 +2725,7 @@ static const char* RID_SVXITEMS_RELIEF[] =
RID_SVXITEMS_RELIEF_ENGRAVED
};
-OUString SvxCharReliefItem::GetValueTextByPos(sal_uInt16 nPos) const
+OUString SvxCharReliefItem::GetValueTextByPos(sal_uInt16 nPos)
{
assert(nPos < SAL_N_ELEMENTS(RID_SVXITEMS_RELIEF) && "enum overflow");
return EditResId(RID_SVXITEMS_RELIEF[nPos]);