summaryrefslogtreecommitdiff
path: root/vcl/unx/x11/x11sys.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/x11/x11sys.cxx')
-rw-r--r--vcl/unx/x11/x11sys.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/x11/x11sys.cxx b/vcl/unx/x11/x11sys.cxx
index 1e6ebe55bd76..8cad695b5265 100644
--- a/vcl/unx/x11/x11sys.cxx
+++ b/vcl/unx/x11/x11sys.cxx
@@ -134,7 +134,7 @@ int X11SalSystem::ShowNativeDialog( const OUString& rTitle, const OUString& rMes
if( pSVData->mpIntroWindow )
pSVData->mpIntroWindow->Hide();
- VclPtr<WarningBox> aWarn(new WarningBox(NULL, WB_STDWORK, rMessage) );
+ ScopedVclPtr<WarningBox> aWarn(new WarningBox(NULL, WB_STDWORK, rMessage) );
aWarn->SetText( rTitle );
aWarn->Clear();