summaryrefslogtreecommitdiff
path: root/extensions/source/abpilot/typeselectionpage.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-15 20:43:16 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-15 23:30:20 +0200
commit3236e205f4b0ab43fb11f8ce3ebe8cfa749da6d5 (patch)
tree0ae4950cdd085e5cc288411a01c82b125a5a931d /extensions/source/abpilot/typeselectionpage.cxx
parent113830171478fd01441f8fc20b6132aba535174a (diff)
ErrorBox RID_ERR_NEEDTYPESELECTION to String
Change-Id: Ia7b4807bc3847a50f753541b0495d36176603e63
Diffstat (limited to 'extensions/source/abpilot/typeselectionpage.cxx')
-rw-r--r--extensions/source/abpilot/typeselectionpage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/abpilot/typeselectionpage.cxx b/extensions/source/abpilot/typeselectionpage.cxx
index a2615d81f0d6..79361869e8b7 100644
--- a/extensions/source/abpilot/typeselectionpage.cxx
+++ b/extensions/source/abpilot/typeselectionpage.cxx
@@ -20,7 +20,7 @@
#include "typeselectionpage.hxx"
#include "addresssettings.hxx"
#include "abspilot.hxx"
-#include <vcl/msgbox.hxx>
+#include <vcl/layout.hxx>
#include <com/sun/star/sdbc/XDriver.hpp>
#include <com/sun/star/sdbc/DriverManager.hpp>
#include <comphelper/processfactory.hxx>
@@ -226,7 +226,7 @@ namespace abp
if (AST_INVALID == getSelectedType( ))
{
- ErrorBox aError(this, ModuleRes(RID_ERR_NEEDTYPESELECTION));
+ MessageDialog aError(this, ModuleRes(RID_STR_NEEDTYPESELECTION));
aError.Execute();
return false;
}