diff options
Diffstat (limited to 'sc/source/ui/cctrl/editfield.cxx')
-rw-r--r-- | sc/source/ui/cctrl/editfield.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/cctrl/editfield.cxx b/sc/source/ui/cctrl/editfield.cxx index 864bfc0fddbf..78650e663c85 100644 --- a/sc/source/ui/cctrl/editfield.cxx +++ b/sc/source/ui/cctrl/editfield.cxx @@ -49,7 +49,7 @@ ScDoubleField::ScDoubleField( vcl::Window* pParent, WinBits nStyle ) : VCL_BUILDER_DECL_FACTORY(ScDoubleField) { VclBuilder::ensureDefaultWidthChars(rMap); - return VclPtr<ScDoubleField>::Create(pParent, WB_LEFT|WB_VCENTER|WB_BORDER|WB_3DLOOK); + return new ScDoubleField(pParent, WB_LEFT|WB_VCENTER|WB_BORDER|WB_3DLOOK); } bool ScDoubleField::GetValue( double& rfValue ) const |