[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - include/editeng svx/source

matteocam matteo.campanelli at gmail.com
Mon Jul 20 13:13:41 PDT 2015


 include/editeng/outliner.hxx  |    3 +++
 svx/source/svdraw/svdedxv.cxx |    1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 7345db6146fbcfc14f8041d10a5410c804a0a58b
Author: matteocam <matteo.campanelli at gmail.com>
Date:   Mon Jul 20 16:11:27 2015 -0400

    Add end paste hdl for OutlView. Remove SdrObjEditView hdl
    
    Change-Id: Ia75f3246a651dbc4f8cd621dc1a72603c13a6ebf

diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index e1a4c91..74c9f72 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -215,6 +215,7 @@ private:
     EDITENG_DLLPRIVATE void         ImpPasted( sal_Int32 nStart, sal_Int32 nPrevParaCount, sal_Int32 nSize);
     EDITENG_DLLPRIVATE sal_Int32    ImpCalcSelectedPages( bool bIncludeFirstSelected );
 
+    Link<> aEndPasteLink;
 
 public:
                 OutlinerView( Outliner* pOut, vcl::Window* pWindow );
@@ -374,6 +375,8 @@ public:
 
     OUString    GetSurroundingText() const;
     Selection   GetSurroundingTextSelection() const;
+
+    void        SetEndPasteLinkHdl(const Link<> &rLink) { aEndPasteLink = rLink; }
 };
 
 
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index ab70471..59b5fd4 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -2042,7 +2042,6 @@ void SdrObjEditView::OnBeginPasteOrDrop( PasteOrDropInfos* )
 void SdrObjEditView::OnEndPasteOrDrop( PasteOrDropInfos* )
 {
     // applications can derive from these virtual methods to do something before a drop or paste operation
-    ImpChainingEventHdl(NULL);
 
 }
 


More information about the Libreoffice-commits mailing list