[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Aug 2 06:50:05 PDT 2011


 sc/source/ui/view/viewfun3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7a21da9a68e6590aa4d41b32cff6d42ffd8fa97e
Author: Noel Power <nopower at novell.com>
Date:   Tue Aug 2 09:48:51 2011 -0400

    fdo#707486: Use the correct clip doc instance to copy to.
    
    Signed-off-by: Kohei Yoshida <kyoshida at novell.com>

diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx
index 8358b56..222571a 100644
--- a/sc/source/ui/view/viewfun3.cxx
+++ b/sc/source/ui/view/viewfun3.cxx
@@ -596,7 +596,7 @@ sal_Bool ScViewFunc::CopyToClip( ScDocument* pClipDoc, const ScRangeList& rRange
             if (!bValidRanges)
                 break;
 
-            pDoc->CopyToClip4VBA( aClipParam, pClipDoc, false, bIncludeObjects );
+            pDoc->CopyToClip4VBA( aClipParam, pDocClip.get(), false, bIncludeObjects );
 
             ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack();
             if ( pChangeTrack )


More information about the Libreoffice-commits mailing list