diff options
author | os <os@openoffice.org> | 2011-03-23 12:20:23 +0100 |
---|---|---|
committer | os <os@openoffice.org> | 2011-03-23 12:20:23 +0100 |
commit | 89d7b337286c47e438eaae68f8efa5e58426dfa9 (patch) | |
tree | 69cb2ca61b5161cedda7caa98870e56e7f2a229a /sw/source/ui/dochdl | |
parent | 2042bfa6e98f275047cddb39fd3d5b0592f642e4 (diff) |
os151: #108521# mark table cells as modified when pasting content unformatted, RTF or HTML
Diffstat (limited to 'sw/source/ui/dochdl')
-rw-r--r-- | sw/source/ui/dochdl/swdtflvr.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx index 1c9caac9b5e2..a37317160dfa 100644 --- a/sw/source/ui/dochdl/swdtflvr.cxx +++ b/sw/source/ui/dochdl/swdtflvr.cxx @@ -1688,7 +1688,9 @@ int SwTransferable::_PasteFileContent( TransferableDataHelper& rData, Link aOldLink( rSh.GetChgLnk() ); rSh.SetChgLnk( Link() ); + const SwPosition& rInsPos = *rSh.GetCrsr()->Start(); SwReader aReader( *pStream, aEmptyStr, String(), *rSh.GetCrsr() ); + rSh.SaveTblBoxCntnt( &rInsPos ); if( IsError( aReader.Read( *pRead )) ) nResId = ERR_CLPBRD_READ; else |