sdxfer.cxx (79aad27f) sdxfer.cxx (bb18ee55)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 532 unchanged lines hidden (view full) ---

541 }
542 }
543
544 maDocShellRef = aOldRef;
545 }
546 else if( nFormat == FORMAT_GDIMETAFILE )
547 {
548 if( mpSdViewIntern )
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 532 unchanged lines hidden (view full) ---

541 }
542 }
543
544 maDocShellRef = aOldRef;
545 }
546 else if( nFormat == FORMAT_GDIMETAFILE )
547 {
548 if( mpSdViewIntern )
549 bOK = SetGDIMetaFile( mpSdViewIntern->GetAllMarkedMetaFile( sal_True ), rFlavor );
549 bOK = SetGDIMetaFile( mpSdViewIntern->GetMarkedObjMetaFile(true), rFlavor );
550 }
551 else if( nFormat == FORMAT_BITMAP )
552 {
553 if( mpSdViewIntern )
550 }
551 else if( nFormat == FORMAT_BITMAP )
552 {
553 if( mpSdViewIntern )
554 bOK = SetBitmap( mpSdViewIntern->GetAllMarkedBitmap( sal_True ), rFlavor );
554 bOK = SetBitmap( mpSdViewIntern->GetMarkedObjBitmapEx(true).GetBitmap(), rFlavor );
555 }
556 else if( ( nFormat == FORMAT_STRING ) && mpBookmark )
557 {
558 bOK = SetString( mpBookmark->GetURL(), rFlavor );
559 }
560 else if( ( nFormat == SOT_FORMATSTR_ID_SVXB ) && mpGraphic )
561 {
562 bOK = SetGraphic( *mpGraphic, rFlavor );

--- 364 unchanged lines hidden ---
555 }
556 else if( ( nFormat == FORMAT_STRING ) && mpBookmark )
557 {
558 bOK = SetString( mpBookmark->GetURL(), rFlavor );
559 }
560 else if( ( nFormat == SOT_FORMATSTR_ID_SVXB ) && mpGraphic )
561 {
562 bOK = SetGraphic( *mpGraphic, rFlavor );

--- 364 unchanged lines hidden ---