diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-11-19 09:03:34 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-11-19 09:03:51 +0100 |
commit | 3c95503cefaf996faec1adb87e296c1b8a71d221 (patch) | |
tree | f3747bc24996c3716a217c65c9b7b02a53017576 /sw/source/core/tox | |
parent | 333c6c114b0f21acf0f2525d61850a5f86d84aa7 (diff) |
Use SwNode::GetTxtNode()
Change-Id: Icf3e1013d5eba5702badf19aa6c1f5e6708ed154
Diffstat (limited to 'sw/source/core/tox')
-rw-r--r-- | sw/source/core/tox/txmsrt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/tox/txmsrt.cxx b/sw/source/core/tox/txmsrt.cxx index 794c46e6b641..50b576b968b1 100644 --- a/sw/source/core/tox/txmsrt.cxx +++ b/sw/source/core/tox/txmsrt.cxx @@ -568,7 +568,7 @@ OUString SwTOXPara::GetURL() const case nsSwTOXElement::TOX_TEMPLATE: case nsSwTOXElement::TOX_OUTLINELEVEL: { - const SwTxtNode * pTxtNd = static_cast<const SwTxtNode *>(pNd); + const SwTxtNode * pTxtNd = pNd->GetTxtNode(); SwDoc* pDoc = const_cast<SwDoc*>( pTxtNd->GetDoc() ); ::sw::mark::IMark const * const pMark = pDoc->getIDocumentMarkAccess()->getMarkForTxtNode( |