From e9093f294a5792b22c4dd9c6ff4090666e9aedd8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 6 Jun 2012 09:17:26 +0100 Subject: transfer contents of listboxes --- vcl/inc/ilstbox.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'vcl/inc') diff --git a/vcl/inc/ilstbox.hxx b/vcl/inc/ilstbox.hxx index a583f9be03e9..149222831d52 100644 --- a/vcl/inc/ilstbox.hxx +++ b/vcl/inc/ilstbox.hxx @@ -196,6 +196,8 @@ public: first selectable entry after nPos is bForward is false. */ sal_uInt16 FindFirstSelectable( sal_uInt16 nPos, bool bForward = true ); + + void take_properties(ImplEntryList &rOther); }; // --------------------- @@ -388,6 +390,11 @@ public: inline void EnableMirroring() { mbMirroring = sal_True; } inline sal_Bool IsMirroring() const { return mbMirroring; } + /* + * Takes ownership of the rOther properties + */ + virtual void take_properties(Window &rOther); + protected: // ISearchableStringList virtual ::vcl::StringEntryIdentifier CurrentEntry( String& _out_entryText ) const; @@ -515,6 +522,8 @@ public: // pb: #106948# explicit mirroring for calc inline void EnableMirroring() { maLBWindow.EnableMirroring(); } inline void SetDropTraget(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& i_xDNDListenerContainer){ mxDNDListenerContainer= i_xDNDListenerContainer; } + + virtual void take_properties(Window &rOther); }; // ----------------------------- -- cgit