swdtflvr.cxx (8b085085) swdtflvr.cxx (5b4f8e55)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 824 unchanged lines hidden (view full) ---

833 // von Tastatur- und Mausselektion moeglich ist.
834 // Im AddMode wird bei Tastaturselektion der neue Cursor erst
835 // beim Bewegen des Cursors nach Selektionsende erzeugt.
836 if( pWrtShell->IsAddMode() && pWrtShell->SwCrsrShell::HasSelection() )
837 pWrtShell->CreateCrsr();
838
839 SwDoc *const pTmpDoc = lcl_GetDoc(*pClpDocFac);
840
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 824 unchanged lines hidden (view full) ---

833 // von Tastatur- und Mausselektion moeglich ist.
834 // Im AddMode wird bei Tastaturselektion der neue Cursor erst
835 // beim Bewegen des Cursors nach Selektionsende erzeugt.
836 if( pWrtShell->IsAddMode() && pWrtShell->SwCrsrShell::HasSelection() )
837 pWrtShell->CreateCrsr();
838
839 SwDoc *const pTmpDoc = lcl_GetDoc(*pClpDocFac);
840
841 SwDocShell::InitDefaultFontAttr( pTmpDoc ); //#115580#
842
843 pTmpDoc->LockExpFlds(); // nie die Felder updaten - Text so belassen
844 pWrtShell->Copy( pTmpDoc );
845
846 {
847 IDocumentMarkAccess* const pMarkAccess = pTmpDoc->getIDocumentMarkAccess();
848 ::std::vector< ::sw::mark::IMark* > vDdeMarks;
849 // find all DDE-Bookmarks
850 for(IDocumentMarkAccess::const_iterator_t ppMark = pMarkAccess->getMarksBegin();

--- 2989 unchanged lines hidden ---
841 pTmpDoc->LockExpFlds(); // nie die Felder updaten - Text so belassen
842 pWrtShell->Copy( pTmpDoc );
843
844 {
845 IDocumentMarkAccess* const pMarkAccess = pTmpDoc->getIDocumentMarkAccess();
846 ::std::vector< ::sw::mark::IMark* > vDdeMarks;
847 // find all DDE-Bookmarks
848 for(IDocumentMarkAccess::const_iterator_t ppMark = pMarkAccess->getMarksBegin();

--- 2989 unchanged lines hidden ---