summaryrefslogtreecommitdiffstats
path: root/sfx2/source/appl/opengrf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/opengrf.cxx')
-rw-r--r--sfx2/source/appl/opengrf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/opengrf.cxx b/sfx2/source/appl/opengrf.cxx
index 10c4d705d734..348668185062 100644
--- a/sfx2/source/appl/opengrf.cxx
+++ b/sfx2/source/appl/opengrf.cxx
@@ -158,7 +158,7 @@ short SvxOpenGraphicDialog::Execute()
// could not load?
if ( nFound == USHRT_MAX )
{
- VclPtr<WarningBox> aWarningBox(new WarningBox(NULL, WB_3DLOOK | WB_RETRY_CANCEL, SfxResId( SvxOpenGrfErr2ResId(nImpRet) ).toString()) );
+ ScopedVclPtr<WarningBox> aWarningBox(new WarningBox(NULL, WB_3DLOOK | WB_RETRY_CANCEL, SfxResId( SvxOpenGrfErr2ResId(nImpRet) ).toString()) );
bQuitLoop = aWarningBox->Execute() != RET_RETRY;
}
else