diff options
author | Michael Stahl <mst@openoffice.org> | 2010-04-19 17:25:53 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-04-19 17:25:53 +0200 |
commit | 40f2ebaa07d820660f5d14531eb22818287d7e93 (patch) | |
tree | e805b29d7dd0f493978f44fee917313546018cc4 | |
parent | 876116a06642ed8a7be922995ec9ea45cb0ee3fb (diff) |
sw33bf03: #i104585#: copy outline numbering rule to clipboard
-rw-r--r-- | sw/source/core/docnode/ndcopy.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/core/docnode/ndcopy.cxx b/sw/source/core/docnode/ndcopy.cxx index 088fe5b50424..315a51f85b88 100644 --- a/sw/source/core/docnode/ndcopy.cxx +++ b/sw/source/core/docnode/ndcopy.cxx @@ -922,6 +922,12 @@ bool SwDoc::CopyImpl( SwPaM& rPam, SwPosition& rPos, bool bCopyBookmarks = true; BOOL bStartIsTxtNode = 0 != pSttTxtNd; + // #i104585# copy outline num rule to clipboard (for ASCII filter) + if (pDoc->IsClipBoard() && GetOutlineNumRule()) + { + pDoc->SetOutlineNumRule(*GetOutlineNumRule()); + } + // --> OD 2009-08-25 #i86492# // Correct the search for a previous list: // First search for non-outline numbering list. Then search for non-outline |