[Libreoffice-commits] core.git: include/vcl vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 24 15:48:23 UTC 2020


 include/vcl/treelistbox.hxx         |   29 -----------------------------
 vcl/source/treelist/treelistbox.cxx |   29 +++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 29 deletions(-)

New commits:
commit 1d23ff22c112f5b2bac23d9329a72c399007bf98
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Apr 24 12:41:35 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Apr 24 17:47:44 2020 +0200

    move SvInplaceEdit2 out of public header
    
    Change-Id: I864a795516853bd1a29b7c056e230d8f21f96cc9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92853
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx
index bbb77cc7a43e..98de69aa0833 100644
--- a/include/vcl/treelistbox.hxx
+++ b/include/vcl/treelistbox.hxx
@@ -734,35 +734,6 @@ public:
     void            SetDragHelper(rtl::Reference<TransferDataContainer>& rHelper, sal_uInt8 eDNDConstants);
 };
 
-class SvInplaceEdit2
-{
-    Link<SvInplaceEdit2&,void> aCallBackHdl;
-    Accelerator   aAccReturn;
-    Accelerator   aAccEscape;
-    Idle          aIdle;
-    VclPtr<Edit>  pEdit;
-    bool          bCanceled;
-    bool          bAlreadyInCallBack;
-
-    void        CallCallBackHdl_Impl();
-    DECL_LINK( Timeout_Impl, Timer *, void );
-    DECL_LINK( ReturnHdl_Impl, Accelerator&, void );
-    DECL_LINK( EscapeHdl_Impl, Accelerator&, void );
-
-public:
-                SvInplaceEdit2( vcl::Window* pParent, const Point& rPos, const Size& rSize,
-                   const OUString& rData, const Link<SvInplaceEdit2&,void>& rNotifyEditEnd,
-                   const Selection& );
-               ~SvInplaceEdit2();
-    bool        KeyInput( const KeyEvent& rKEvt );
-    void        LoseFocus();
-    bool        EditingCanceled() const { return bCanceled; }
-    OUString    GetText() const;
-    OUString const & GetSavedValue() const;
-    void        StopEditing( bool bCancel );
-    void        Hide();
-};
-
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx
index 5d84d716e6ae..68c6a4d6bd3c 100644
--- a/vcl/source/treelist/treelistbox.cxx
+++ b/vcl/source/treelist/treelistbox.cxx
@@ -58,6 +58,35 @@ static VclPtr<SvTreeListBox> g_pDDTarget;
 #define SVLBOX_ACC_RETURN 1
 #define SVLBOX_ACC_ESCAPE 2
 
+class SvInplaceEdit2
+{
+    Link<SvInplaceEdit2&,void> aCallBackHdl;
+    Accelerator   aAccReturn;
+    Accelerator   aAccEscape;
+    Idle          aIdle;
+    VclPtr<Edit>  pEdit;
+    bool          bCanceled;
+    bool          bAlreadyInCallBack;
+
+    void        CallCallBackHdl_Impl();
+    DECL_LINK( Timeout_Impl, Timer *, void );
+    DECL_LINK( ReturnHdl_Impl, Accelerator&, void );
+    DECL_LINK( EscapeHdl_Impl, Accelerator&, void );
+
+public:
+                SvInplaceEdit2( vcl::Window* pParent, const Point& rPos, const Size& rSize,
+                   const OUString& rData, const Link<SvInplaceEdit2&,void>& rNotifyEditEnd,
+                   const Selection& );
+               ~SvInplaceEdit2();
+    bool        KeyInput( const KeyEvent& rKEvt );
+    void        LoseFocus();
+    bool        EditingCanceled() const { return bCanceled; }
+    OUString    GetText() const;
+    OUString const & GetSavedValue() const;
+    void        StopEditing( bool bCancel );
+    void        Hide();
+};
+
 // ***************************************************************
 
 namespace {


More information about the Libreoffice-commits mailing list