diff options
Diffstat (limited to 'include/editeng/outliner.hxx')
-rw-r--r-- | include/editeng/outliner.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 4b47caeb97ec..5a2dbe9f8cf9 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -524,14 +524,14 @@ public: const SvxFieldItem& GetField() const { return rFldItem; } - Color* GetTxtColor() const { return pTxtColor; } - void SetTxtColor( const Color& rColor ) + Color* GetTextColor() const { return pTxtColor; } + void SetTextColor( const Color& rColor ) { delete pTxtColor; pTxtColor = new Color( rColor ); } - Color* GetFldColor() const { return pFldColor; } - void SetFldColor( const Color& rColor ) + Color* GetFieldColor() const { return pFldColor; } + void SetFieldColor( const Color& rColor ) { delete pFldColor; pFldColor = new Color( rColor ); } - void ClearFldColor() + void ClearFieldColor() { delete pFldColor; pFldColor = 0; } sal_Int32 GetPara() const { return nPara; } |