summaryrefslogtreecommitdiff
path: root/editeng/source/items
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-10 14:12:10 +0200
committerNoel Grandin <noel@peralex.com>2015-04-13 09:37:13 +0200
commit593515e529d75f08f4d3766dac78b1792aea4be4 (patch)
treea82b7d8b52106727304b092273e3b8cc7c9175d0 /editeng/source/items
parentee094bd46f55118993c72af719dc046476f9f311 (diff)
loplugin:staticmethods
Change-Id: I332d3b3158b46cf130540c6e1479dd01cb457d03
Diffstat (limited to 'editeng/source/items')
-rw-r--r--editeng/source/items/flditem.cxx2
-rw-r--r--editeng/source/items/justifyitem.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx
index 8297a406c6c9..8a643fa335f2 100644
--- a/editeng/source/items/flditem.cxx
+++ b/editeng/source/items/flditem.cxx
@@ -271,7 +271,7 @@ MetaAction* SvxFieldData::createBeginComment() const
return new MetaCommentAction( "FIELD_SEQ_BEGIN" );
}
-MetaAction* SvxFieldData::createEndComment() const
+MetaAction* SvxFieldData::createEndComment()
{
return new MetaCommentAction( "FIELD_SEQ_END" );
}
diff --git a/editeng/source/items/justifyitem.cxx b/editeng/source/items/justifyitem.cxx
index 7871c87bc217..c8806bd61760 100644
--- a/editeng/source/items/justifyitem.cxx
+++ b/editeng/source/items/justifyitem.cxx
@@ -158,7 +158,7 @@ bool SvxHorJustifyItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
}
-OUString SvxHorJustifyItem::GetValueText( sal_uInt16 nVal ) const
+OUString SvxHorJustifyItem::GetValueText( sal_uInt16 nVal )
{
DBG_ASSERT( nVal <= SVX_HOR_JUSTIFY_REPEAT, "enum overflow!" );
return EE_RESSTR(RID_SVXITEMS_HORJUST_STANDARD + nVal);
@@ -294,7 +294,7 @@ bool SvxVerJustifyItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
}
-OUString SvxVerJustifyItem::GetValueText( sal_uInt16 nVal ) const
+OUString SvxVerJustifyItem::GetValueText( sal_uInt16 nVal )
{
DBG_ASSERT( nVal <= SVX_VER_JUSTIFY_BOTTOM, "enum overflow!" );
return EE_RESSTR(RID_SVXITEMS_VERJUST_STANDARD + nVal);
@@ -376,7 +376,7 @@ bool SvxJustifyMethodItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId
}
-OUString SvxJustifyMethodItem::GetValueText( sal_uInt16 nVal ) const
+OUString SvxJustifyMethodItem::GetValueText( sal_uInt16 nVal )
{
DBG_ASSERT( nVal <= SVX_VER_JUSTIFY_BOTTOM, "enum overflow!" );
return EE_RESSTR(RID_SVXITEMS_JUSTMETHOD_AUTO + nVal);