diff options
Diffstat (limited to 'sw/source/core/edit/edattr.cxx')
-rw-r--r-- | sw/source/core/edit/edattr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx index 01f29cd05b97..5da7b9dffb59 100644 --- a/sw/source/core/edit/edattr.cxx +++ b/sw/source/core/edit/edattr.cxx @@ -717,7 +717,7 @@ SvtScriptType SwEditShell::GetScriptType() const const SwScriptInfo *const pScriptInfo = SwScriptInfo::GetScriptInfo(*pTNd, &pFrame); - sal_Int32 nChg = aIdx == pStt->nNode + sal_Int32 nChg = aIdx == pStt->GetNode() ? pStt->GetContentIndex() : 0; sal_Int32 nEndPos = aIdx == nEndIdx |