diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-06 10:29:11 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 19:57:33 +0100 |
commit | a632fa5f2e059642f0feffb200e8c9a71ee75802 (patch) | |
tree | ab1c9cc0dee047fd2fa2d050ebeb12c6ab8bb6a9 /include/vcl/edit.hxx | |
parent | 10981bc4e349f59818d8f750db378e1ae579ba09 (diff) |
vcl: rename VclReference to VclPtr
and remove the typedefs. The code is more obvious this way.
Change-Id: I4c8f5b5ab050dd96216302a03e760ed0e3ab3464
Diffstat (limited to 'include/vcl/edit.hxx')
-rw-r--r-- | include/vcl/edit.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx index 959a8555095e..34902fb34c6e 100644 --- a/include/vcl/edit.hxx +++ b/include/vcl/edit.hxx @@ -28,7 +28,7 @@ #include <vcl/ctrl.hxx> #include <vcl/menu.hxx> #include <vcl/dndhelp.hxx> -#include <vcl/vclref.hxx> +#include <vcl/vclptr.hxx> #include <com/sun/star/uno/Reference.h> namespace com { @@ -69,7 +69,7 @@ enum AutocompleteAction{ AUTOCOMPLETE_KEYINPUT, AUTOCOMPLETE_TABFORWARD, AUTOCOM class VCL_DLLPUBLIC Edit : public Control, public vcl::unohelper::DragAndDropClient { private: - VclReference<Edit> mpSubEdit; + VclPtr<Edit> mpSubEdit; Timer* mpUpdateDataTimer; TextFilter* mpFilterText; DDInfo* mpDDInfo; @@ -237,7 +237,7 @@ public: virtual const Link& GetModifyHdl() const { return maModifyHdl; } virtual void SetUpdateDataHdl( const Link& rLink ) { maUpdateDataHdl = rLink; } - void SetSubEdit( VclReference<Edit> pEdit ); + void SetSubEdit( VclPtr<Edit> pEdit ); Edit* GetSubEdit() const { return mpSubEdit; } boost::signals2::signal< void ( Edit* ) > autocompleteSignal; @@ -270,7 +270,6 @@ public: // global style settings (needed by sc's inputwin.cxx) static Size GetMinimumEditSize(); }; -typedef VclReference<Edit> EditRef; #endif // INCLUDED_VCL_EDIT_HXX |