summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@suse.com>2012-07-12 19:03:47 +0530
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-07-16 12:01:54 +0200
commitc35c4769d8cabe0f01ef9911056d7a9d1d2f4b04 (patch)
treee9c2c80aed4d8478c9884477dc159379a9699ea0
parent1f6bf7bc65e9b88679bab6b46da3089ac9812c48 (diff)
fdo#45260: Objects having line thickness misplaced while pasting.
Even with the proposed fix of commit id d999ae10 it still seems to be broken with reference to i#112978 . Maybe a better way of fixing it. Hence reverting this patch partially to fix fdo#45260 Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
-rw-r--r--sd/source/ui/view/sdview2.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx
index 5f12c13e4212..5b80d77fd6b8 100644
--- a/sd/source/ui/view/sdview2.cxx
+++ b/sd/source/ui/view/sdview2.cxx
@@ -133,7 +133,9 @@ struct SdNavigatorDropEvent : public ExecuteDropEvent
// #112978# need to use GetAllMarkedBoundRect instead of GetAllMarkedRect to get
// fat lines correctly
- const Rectangle aMarkRect( GetAllMarkedBoundRect() );
+ // This seems to be broken on LibreOffice. So reverted this temporarily
+ // to fix fdo#45260
+ const Rectangle aMarkRect( GetAllMarkedRect() );
TransferableObjectDescriptor aObjDesc;
String aDisplayName;
SdrOle2Obj* pSdrOleObj = NULL;