path: root/sw/source
diff options
authorMike Kaganski <>2015-12-03 19:05:03 +1000
committerMiklos Vajna <>2015-12-14 09:05:21 +0000
commit6381fe554aec600d13d0359903216811d644dd36 (patch)
tree4c3201d70533a241495320ccd0bbf6297bb0bb10 /sw/source
parent6f8deb4601816c750743048deaed22f01dda0a36 (diff)
tdf#96206: Avoid scaling objects while copying to clipboard
... to prevent duplicating masters on slide copy-paste. Also fixed a 10-year copy-paste error (pRefPage wasn't replaced with pNPage). Fixed argument evaluation order issue (aStream.GetEndOfData() depends on Flush() but doesn't call it, so will return incorrect result if called before aStream.GetBuffer()). Replaced compare of hashes with results of stringify(), because it removes useless overhead (hashes are calculated from stringify() anyway, and are not cached anywhere). Removed Flush() called from SvMemoryStream::GetBuffer(), because it calls GetData(), which calls Flush() itself. Thanks to Andras Timar for unit test framework. Change-Id: Ia46d4e9a017fc628d424949a9d229045a249a4ca Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Miklos Vajna <>
Diffstat (limited to 'sw/source')
0 files changed, 0 insertions, 0 deletions