summaryrefslogtreecommitdiff
path: root/editeng/source/items/itemtype.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/items/itemtype.cxx')
-rw-r--r--editeng/source/items/itemtype.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/itemtype.cxx b/editeng/source/items/itemtype.cxx
index 3167a5996870..1fd3d600933b 100644
--- a/editeng/source/items/itemtype.cxx
+++ b/editeng/source/items/itemtype.cxx
@@ -141,7 +141,7 @@ OUString GetSvxString(const char* pId)
OUString GetColorString( const Color& rCol )
{
- if (rCol.GetColor() == COL_AUTO)
+ if (rCol == COL_AUTO)
return EditResId(RID_SVXSTR_AUTOMATIC);
static const Color aColAry[] = {