diff options
Diffstat (limited to 'forms/source/xforms/datatyperepository.cxx')
-rw-r--r-- | forms/source/xforms/datatyperepository.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/xforms/datatyperepository.cxx b/forms/source/xforms/datatyperepository.cxx index fe2c371c1edc..3bb4794344a9 100644 --- a/forms/source/xforms/datatyperepository.cxx +++ b/forms/source/xforms/datatyperepository.cxx @@ -147,8 +147,8 @@ namespace xforms Repository::iterator aTypePos = implLocate( typeName ); if ( aTypePos->second->getIsBasic() ) - throw VetoException("This is a built-in type and cannot be removed.", *this ); - // TODO: localize this error message + // "This is a built-in type and cannot be removed." + throw VetoException(FRM_RES_STRING( RID_STR_XFORMS_CANT_REMOVE_TYPE ), *this ); m_aRepository.erase( aTypePos ); } |