From d731f30e1d1da7d4e6f138d000b9ad5d008896e0 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Mon, 18 Aug 2014 02:40:51 +0200 Subject: InfoBox to String Change-Id: Ic12f04bf80639d89ecc531bceb8378c7d97e9325 --- sfx2/source/dialog/newstyle.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sfx2/source/dialog/newstyle.cxx') diff --git a/sfx2/source/dialog/newstyle.cxx b/sfx2/source/dialog/newstyle.cxx index c8fd34ab0d5c..b2927b692375 100644 --- a/sfx2/source/dialog/newstyle.cxx +++ b/sfx2/source/dialog/newstyle.cxx @@ -24,6 +24,7 @@ #include #include "dialog.hrc" #include +#include // PRIVATE METHODES ------------------------------------------------------ @@ -36,7 +37,7 @@ IMPL_LINK( SfxNewStyleDlg, OKHdl, Control *, pControl ) { if ( !pStyle->IsUserDefined() ) { - InfoBox( this, SfxResId( MSG_POOL_STYLE_NAME ) ).Execute(); + MessageDialog( this, SfxResId( STR_POOL_STYLE_NAME ), VCL_MESSAGE_INFO ).Execute(); return 0; } -- cgit