diff options
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index a02f8b3b04d1..437cf447a91b 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -1469,8 +1469,9 @@ void SwTxtNode::CopyText( SwTxtNode *const pDest, if (pDest->GetDoc()->IsClipBoard() && this->GetNum()) { // #i111677# cache expansion of source (for clipboard) - pDest->m_pNumStringCache.reset( - new OUString(this->GetNumString())); + pDest->m_pNumStringCache.reset( (nTxtStartIdx != 0) + ? new OUString // fdo#49076: numbering only if copy from para start + : new OUString(this->GetNumString())); } if( !nLen ) |