diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-18 02:40:51 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-18 02:48:33 +0200 |
commit | d731f30e1d1da7d4e6f138d000b9ad5d008896e0 (patch) | |
tree | 50301b0451145b42e359543b00d8d44f6b3f7f6e /sfx2/source/dialog/newstyle.cxx | |
parent | 58c7c4c290799effa8abcaee5f71cdf35fb3efdd (diff) |
InfoBox to String
Change-Id: Ic12f04bf80639d89ecc531bceb8378c7d97e9325
Diffstat (limited to 'sfx2/source/dialog/newstyle.cxx')
-rw-r--r-- | sfx2/source/dialog/newstyle.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 <sfx2/newstyle.hxx> #include "dialog.hrc" #include <sfx2/sfxresid.hxx> +#include <vcl/layout.hxx> // 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; } |