diff options
Diffstat (limited to 'forms/source/xforms/resourcehelper.hxx')
-rw-r--r-- | forms/source/xforms/resourcehelper.hxx | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/forms/source/xforms/resourcehelper.hxx b/forms/source/xforms/resourcehelper.hxx index 6741ec10764e..1453a7e4ca04 100644 --- a/forms/source/xforms/resourcehelper.hxx +++ b/forms/source/xforms/resourcehelper.hxx @@ -16,30 +16,26 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FORMS_SOURCE_XFORMS_RESOURCEHELPER_HXX -#define INCLUDED_FORMS_SOURCE_XFORMS_RESOURCEHELPER_HXX +#pragma once #include <sal/config.h> -#include <string_view> - #include <rtl/ustring.hxx> +#include <unotools/resmgr.hxx> namespace xforms { /// get a resource string for the current language - OUString getResource(const char*); + OUString getResource(TranslateId); // overloaded: get a resource string, and substitute parameters - OUString getResource(const char*, std::u16string_view); - OUString getResource(const char*, std::u16string_view, + OUString getResource(TranslateId, std::u16string_view); + OUString getResource(TranslateId, std::u16string_view, std::u16string_view); - OUString getResource(const char*, std::u16string_view, + OUString getResource(TranslateId, std::u16string_view, std::u16string_view, std::u16string_view); } // namespace -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |