summaryrefslogtreecommitdiff
path: root/sw/source/ui/dochdl
diff options
context:
space:
mode:
authoros <os@openoffice.org>2011-03-23 12:20:23 +0100
committeros <os@openoffice.org>2011-03-23 12:20:23 +0100
commit89d7b337286c47e438eaae68f8efa5e58426dfa9 (patch)
tree69cb2ca61b5161cedda7caa98870e56e7f2a229a /sw/source/ui/dochdl
parent2042bfa6e98f275047cddb39fd3d5b0592f642e4 (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.cxx2
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