diff options
Diffstat (limited to 'sc/source/ui/docshell/sizedev.cxx')
-rw-r--r-- | sc/source/ui/docshell/sizedev.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/sizedev.cxx b/sc/source/ui/docshell/sizedev.cxx index 744266efe4f5..90bca78f619f 100644 --- a/sc/source/ui/docshell/sizedev.cxx +++ b/sc/source/ui/docshell/sizedev.cxx @@ -39,7 +39,7 @@ ScSizeDeviceProvider::ScSizeDeviceProvider( ScDocShell* pDocSh ) } else { - pDevice = new VirtualDevice; + pDevice = VclPtr<VirtualDevice>::Create(); pDevice->SetDigitLanguage( SC_MOD()->GetOptDigitLanguage() ); bOwner = true; } |