summaryrefslogtreecommitdiff
path: root/sw/inc/fmtmeta.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/fmtmeta.hxx')
-rw-r--r--sw/inc/fmtmeta.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/fmtmeta.hxx b/sw/inc/fmtmeta.hxx
index 9adeedfa748c..0bcf9cebca20 100644
--- a/sw/inc/fmtmeta.hxx
+++ b/sw/inc/fmtmeta.hxx
@@ -135,7 +135,7 @@ protected:
SwTxtNode * m_pTxtNode;
SwTxtMeta * GetTxtAttr() const;
- SwTxtNode * GetTxtNode() const; ///< @return 0 if not in document (undo)
+ SwTxtNode * GetTxtNode() const { return m_pTxtNode;} ///< @return 0 if not in document (undo)
SwFmtMeta * GetFmtMeta() const { return m_pFmt; }
void SetFmtMeta( SwFmtMeta * const i_pFmt ) { m_pFmt = i_pFmt; };