summaryrefslogtreecommitdiff
path: root/forms/source/inc/frm_resource.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/inc/frm_resource.hxx')
-rw-r--r--forms/source/inc/frm_resource.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/forms/source/inc/frm_resource.hxx b/forms/source/inc/frm_resource.hxx
index 529d0f43b391..711018a158d0 100644
--- a/forms/source/inc/frm_resource.hxx
+++ b/forms/source/inc/frm_resource.hxx
@@ -17,26 +17,22 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_INC_FRM_RESOURCE_HXX
-#define INCLUDED_FORMS_SOURCE_INC_FRM_RESOURCE_HXX
+#pragma once
#include <rtl/ustring.hxx>
+#include <unotools/resmgr.hxx>
namespace frm
{
-#define FRM_RES_STRING(id) ResourceManager::loadString(id)
-
// handling resources within the FormLayer library
namespace ResourceManager
{
/** loads the string with the specified resource id from the FormLayer mo file
*/
- OUString loadString(const char* pResId);
+ OUString loadString(TranslateId aResId);
};
}
-#endif // INCLUDED_FORMS_SOURCE_INC_FRM_RESOURCE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */