diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 13:58:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-20 08:00:58 +0200 |
commit | 722cb06e71539e108f663ca1c2dd6baf7f4adc64 (patch) | |
tree | 47141f5957aa91d3d53de45e297a07fc84082f6c /include/svx | |
parent | 587bd15487f78dc0e973ea811a4200612ceeda5d (diff) |
return by unique_ptr from CreateFieldControl
Change-Id: Ic8bf9829c3320aca452fd1a40e9843fdbdbfa219
Reviewed-on: https://gerrit.libreoffice.org/61906
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/fmview.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/fmview.hxx b/include/svx/fmview.hxx index 106e83131733..853a6bccfe39 100644 --- a/include/svx/fmview.hxx +++ b/include/svx/fmview.hxx @@ -72,15 +72,15 @@ public: @deprecated This method is deprecated. Use the version with a ODataAccessDescriptor instead. */ - SdrObject* CreateFieldControl(const OUString& rFieldDesc) const; + SdrObjectUniquePtr CreateFieldControl(const OUString& rFieldDesc) const; /** create a control pair (label/bound control) for the database field description given. */ - SdrObject* CreateFieldControl( const svx::ODataAccessDescriptor& _rColumnDescriptor ); + SdrObjectUniquePtr CreateFieldControl( const svx::ODataAccessDescriptor& _rColumnDescriptor ); /** create a control pair (label/bound control) for the xforms description given. */ - SdrObject* CreateXFormsControl( const svx::OXFormsDescriptor &_rDesc ); + SdrObjectUniquePtr CreateXFormsControl( const svx::OXFormsDescriptor &_rDesc ); virtual void MarkListHasChanged() override; virtual void AddWindowToPaintView(OutputDevice* pNewWin, vcl::Window* pWindow) override; |