summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/misc/defaultobjectnamecheck.cxx')
-rw-r--r--dbaccess/source/ui/misc/defaultobjectnamecheck.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx b/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx
index 59f10c042cba..d4325e99090a 100644
--- a/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx
+++ b/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx
@@ -17,11 +17,12 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include "core_resource.hxx"
#include "defaultobjectnamecheck.hxx"
-#include "dbu_misc.hrc"
+#include "strings.hrc"
-#include "moduledbu.hxx"
+#include "core_resource.hxx"
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/sdb/CommandType.hpp>
@@ -61,7 +62,7 @@ namespace dbaui
void lcl_fillNameExistsError( const OUString& _rObjectName, SQLExceptionInfo& _out_rErrorToDisplay )
{
SQLException aError;
- OUString sErrorMessage = ModuleRes(STR_NAMED_OBJECT_ALREADY_EXISTS);
+ OUString sErrorMessage = DBA_RES(STR_NAMED_OBJECT_ALREADY_EXISTS);
aError.Message = sErrorMessage.replaceAll("$#$", _rObjectName);
_out_rErrorToDisplay = aError;
}