summaryrefslogtreecommitdiff
path: root/sw/inc/txtatr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/txtatr.hxx')
-rw-r--r--sw/inc/txtatr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/txtatr.hxx b/sw/inc/txtatr.hxx
index ebd11b1cdfde..3dea8e696ba6 100644
--- a/sw/inc/txtatr.hxx
+++ b/sw/inc/txtatr.hxx
@@ -89,7 +89,7 @@ public:
SwCharFormat* GetCharFormat();
const SwCharFormat* GetCharFormat() const
- { return (const_cast<SwTextRuby*>(this))->GetCharFormat(); }
+ { return const_cast<SwTextRuby*>(this)->GetCharFormat(); }
};
inline const SwTextNode& SwTextRuby::GetTextNode() const