From 89d7b337286c47e438eaae68f8efa5e58426dfa9 Mon Sep 17 00:00:00 2001 From: os Date: Wed, 23 Mar 2011 12:20:23 +0100 Subject: os151: #108521# mark table cells as modified when pasting content unformatted, RTF or HTML --- sw/source/ui/dochdl/swdtflvr.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sw/source/ui/dochdl') 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 -- cgit