Adapt to C++2a char_t
u8 literals incompatibly change their type (as implemented by recent Clang trunk) Change-Id: Ia4f7b91f5d86656a056303d2754981ab2093a739 Reviewed-on: https://gerrit.libreoffice.org/63494 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
1ee42f427f
commit
c89a4996b8
@ -20,7 +20,7 @@
|
||||
#ifndef ACCESSIBILITY_HELPER_ACCESSIBLESTRINGS_HRC_
|
||||
#define ACCESSIBILITY_HELPER_ACCESSIBLESTRINGS_HRC_
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define RID_STR_ACC_NAME_BROWSEBUTTON NC_("RID_STR_ACC_NAME_BROWSEBUTTON", "Browse")
|
||||
#define STR_SVT_ACC_ACTION_EXPAND NC_("STR_SVT_ACC_ACTION_EXPAND", "Expand" )
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_AVMEDIA_INC_STRINGS_HRC
|
||||
#define INCLUDED_AVMEDIA_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define AVMEDIA_STR_OPEN NC_("AVMEDIA_STR_OPEN", "Open")
|
||||
#define AVMEDIA_STR_INSERT NC_("AVMEDIA_STR_INSERT", "Apply")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef BASCTL_INC_BASIDESH_HRC
|
||||
#define BASCTL_INC_BASIDESH_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define RID_STR_FILTER_ALLFILES NC_("RID_STR_FILTER_ALLFILES", "<All>")
|
||||
#define RID_STR_NOMODULE NC_("RID_STR_NOMODULE", "< No Module >")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_BASIC_INC_STRINGS_HRC
|
||||
#define INCLUDED_BASIC_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
std::pair<const char*, ErrCode> const RID_BASIC_START[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_BASIC_INC_STRINGS_HRC
|
||||
#define INCLUDED_BASIC_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_BASICKEY_FORMAT_ON NC_("STR_BASICKEY_FORMAT_ON", "On")
|
||||
#define STR_BASICKEY_FORMAT_OFF NC_("STR_BASICKEY_FORMAT_OFF", "Off")
|
||||
|
@ -19,7 +19,7 @@
|
||||
#ifndef CHART_STRINGS_HRC
|
||||
#define CHART_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_DLG_CHART_WIZARD NC_("STR_DLG_CHART_WIZARD", "Chart Wizard")
|
||||
#define STR_DLG_SMOOTH_LINE_PROPERTIES NC_("STR_DLG_SMOOTH_LINE_PROPERTIES", "Smooth Lines")
|
||||
|
@ -67,7 +67,9 @@ int main() {
|
||||
|
||||
(void) OUString("xxx", 2, RTL_TEXTENCODING_ASCII_US); // expected-error {{suspicious 'rtl::OUString' constructor with literal of length 3 and non-matching length argument 2 [loplugin:stringconstant]}}
|
||||
|
||||
#if !defined __cpp_char8_t
|
||||
(void) OUString(u8"xxx", 3, RTL_TEXTENCODING_ASCII_US); // expected-error {{simplify construction of 'OUString' with string constant argument [loplugin:stringconstant]}}
|
||||
#endif
|
||||
|
||||
(void) OUString("\x80", 1, RTL_TEXTENCODING_UTF8); // expected-error {{suspicious 'rtl::OUString' constructor with text encoding 'RTL_TEXTENCODING_UTF8' but non-UTF-8 content [loplugin:stringconstant]}}
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef CONNECTIVITY_STRINGS_HRC
|
||||
#define CONNECTIVITY_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
// = the mozab driver's resource strings
|
||||
#define STR_ERR_EXECUTING_QUERY NC_("STR_ERR_EXECUTING_QUERY", "An error occurred while executing the query.")
|
||||
|
@ -19,7 +19,7 @@
|
||||
#ifndef INCLUDED_CUI_INC_STRINGS_HRC
|
||||
#define INCLUDED_CUI_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define RID_SVXSTR_KEY_CONFIG_DIR NC_("RID_SVXSTR_KEY_CONFIG_DIR", "Configuration")
|
||||
#define RID_SVXSTR_KEY_WORK_PATH NC_("RID_SVXSTR_KEY_WORK_PATH", "My Documents")
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <sal/types.h>
|
||||
#include <sfx2/pageids.hxx>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, sal_uInt16> SID_GENERAL_OPTIONS_RES[] =
|
||||
{
|
||||
|
@ -19,7 +19,7 @@
|
||||
#ifndef INCLUDED_VCL_INC_PRINTACCESSORYVIEW_HRC
|
||||
#define INCLUDED_VCL_INC_PRINTACCESSORYVIEW_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* RSC_QUERY_OBJECT_TYPE[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_CORE_RESOURCE_HRC
|
||||
#define INCLUDED_DBACCESS_SOURCE_CORE_INC_CORE_RESOURCE_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define RID_STR_CONNECTION_INVALID NC_("RID_STR_CONNECTION_INVALID", "No connection could be established.")
|
||||
#define RID_STR_TABLE_IS_FILTERED NC_("RID_STR_TABLE_IS_FILTERED", "The table $name$ already exists. It is not visible because it has been filtered out.")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_VCL_INC_STRINGS_HRC
|
||||
#define INCLUDED_VCL_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define RID_STR_COPYING_PACKAGE NC_("RID_STR_COPYING_PACKAGE", "Copying: ")
|
||||
#define RID_STR_ERROR_WHILE_ADDING NC_("RID_STR_ERROR_WHILE_ADDING", "Error while adding: ")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_EXTENSIONS_INC_COMMAND_HRC
|
||||
#define INCLUDED_EXTENSIONS_INC_COMMAND_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_EXTENSIONS_INC_SHOWHIDE_HRC
|
||||
#define INCLUDED_EXTENSIONS_INC_SHOWHIDE_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_EXTENSIONS_INC_STRINGARRAYS_HRC
|
||||
#define INCLUDED_EXTENSIONS_INC_STRINGARRAYS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* RID_RSC_ENUM_VERTICAL_ALIGN[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_EXTENSIONS_INC_STRINGS_HRC
|
||||
#define INCLUDED_EXTENSIONS_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define RID_STR_EDITMASK NC_("RID_STR_EDITMASK", "Edit mask")
|
||||
#define RID_STR_LITERALMASK NC_("RID_STR_LITERALMASK", "Literal mask")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_EXTENSIONS_INC_YESNO_HRC
|
||||
#define INCLUDED_EXTENSIONS_INC_YESNO_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
namespace {
|
||||
|
||||
|
1
external/icu/UnpackedTarball_icu.mk
vendored
1
external/icu/UnpackedTarball_icu.mk
vendored
@ -37,6 +37,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,icu,\
|
||||
external/icu/icu4c-khmerbreakengine.patch.1 \
|
||||
external/icu/icu4c-61-werror-shadow.patch.1 \
|
||||
external/icu/gcc9.patch \
|
||||
external/icu/char8_t.patch \
|
||||
))
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_add_file,icu,source/data/brkitr/khmerdict.dict,external/icu/khmerdict.dict))
|
||||
|
19
external/icu/char8_t.patch
vendored
Normal file
19
external/icu/char8_t.patch
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
--- source/common/ucasemap.cpp
|
||||
+++ source/common/ucasemap.cpp
|
||||
@@ -687,13 +687,13 @@
|
||||
if (change) {
|
||||
ByteSinkUtil::appendTwoBytes(upper, sink);
|
||||
if ((data & HAS_EITHER_DIALYTIKA) != 0) {
|
||||
- sink.Append(u8"\u0308", 2); // restore or add a dialytika
|
||||
+ sink.Append(reinterpret_cast<char const *>(u8"\u0308"), 2); // restore or add a dialytika
|
||||
}
|
||||
if (addTonos) {
|
||||
- sink.Append(u8"\u0301", 2);
|
||||
+ sink.Append(reinterpret_cast<char const *>(u8"\u0301"), 2);
|
||||
}
|
||||
while (numYpogegrammeni > 0) {
|
||||
- sink.Append(u8"\u0399", 2);
|
||||
+ sink.Append(reinterpret_cast<char const *>(u8"\u0399"), 2);
|
||||
--numYpogegrammeni;
|
||||
}
|
||||
}
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_FILTER_INC_STRINGS_HRC
|
||||
#define INCLUDED_FILTER_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_COLUMN_HEADER_NAME NC_("STR_COLUMN_HEADER_NAME", "Name")
|
||||
#define STR_COLUMN_HEADER_TYPE NC_("STR_COLUMN_HEADER_TYPE", "Type")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_VCL_INC_STRINGS_HRC
|
||||
#define INCLUDED_VCL_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define RID_BASELISTBOX_ERROR_FILLLIST NC_("RID_BASELISTBOX_ERROR_FILLLIST", "The contents of a combo box or list field could not be determined.")
|
||||
#define RID_STR_IMPORT_GRAPHIC NC_("RID_STR_IMPORT_GRAPHIC", "Insert Image" )
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <formula/compiler.hxx>
|
||||
#include <utility>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
/** These English names are used to store/load ODFF as of ODF v1.2. */
|
||||
// NAMES CAN ONLY BE CHANGED WHEN PROVIDING BACKWARD AND FORWARD COMPATIBILITY
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_VCL_INC_STRINGS_HRC
|
||||
#define INCLUDED_VCL_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_OPTIONAL NC_("STR_OPTIONAL", "(optional)")
|
||||
#define STR_REQUIRED NC_("STR_REQUIRED", "(required)")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_VCL_INC_STRINGS_HRC
|
||||
#define INCLUDED_VCL_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_EXPLORERFILE_OPEN NC_("STR_EXPLORERFILE_OPEN", "Open")
|
||||
#define STR_EXPLORERFILE_SAVE NC_("STR_EXPLORERFILE_SAVE", "Save as")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_FRAMEWORK_INC_STRINGS_HRC
|
||||
#define INCLUDED_FRAMEWORK_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_MENU_HEADFOOTALL NC_("STR_MENU_HEADFOOTALL", "All" )
|
||||
#define STR_UPDATEDOC NC_("STR_UPDATEDOC", "~Update" )
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_INCLUDE_EDITENG_EDITRIDS_HRC
|
||||
#define INCLUDED_INCLUDE_EDITENG_EDITRIDS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
// enum SvxBreak ------------------------------------------------------------
|
||||
#define RID_SVXITEMS_BREAK_NONE NC_("RID_SVXITEMS_BREAK_NONE", "No break")
|
||||
|
@ -9,7 +9,7 @@
|
||||
#ifndef INCLUDED_FPICKER_FPICKER_HRC
|
||||
#define INCLUDED_FPICKER_FPICKER_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_SVT_FILEPICKER_AUTO_EXTENSION NC_("STR_SVT_FILEPICKER_AUTO_EXTENSION", "~Automatic file name extension")
|
||||
#define STR_SVT_FILEPICKER_PASSWORD NC_("STR_SVT_FILEPICKER_PASSWORD", "Save with pass~word")
|
||||
|
@ -1804,6 +1804,10 @@ struct SAL_WARN_UNUSED OStringLiteral
|
||||
{
|
||||
template< int N >
|
||||
explicit OStringLiteral( const char (&str)[ N ] ) : size( N - 1 ), data( str ) { assert( strlen( str ) == N - 1 ); }
|
||||
#if defined __cpp_char8_t
|
||||
template< int N >
|
||||
explicit OStringLiteral( const char8_t (&str)[ N ] ) : size( N - 1 ), data( reinterpret_cast<char const *>(str) ) { assert( strlen( data ) == N - 1 ); }
|
||||
#endif
|
||||
int size;
|
||||
const char* data;
|
||||
};
|
||||
|
@ -207,6 +207,28 @@ struct ConstCharArrayDetector< const char[ 1 ], T >
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined LIBO_INTERNAL_ONLY && defined __cpp_char8_t
|
||||
template<std::size_t N, typename T>
|
||||
struct ConstCharArrayDetector<char8_t const [N], T> {
|
||||
using Type = T;
|
||||
static constexpr bool const ok = true;
|
||||
static constexpr std::size_t const length = N - 1;
|
||||
#if HAVE_CXX14_CONSTEXPR
|
||||
constexpr
|
||||
#endif
|
||||
static bool isValid(char8_t const (& literal)[N]) {
|
||||
for (std::size_t i = 0; i != N - 1; ++i) {
|
||||
if (literal[i] == u8'\0') {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return literal[N - 1] == u8'\0';
|
||||
}
|
||||
static constexpr char const * toPointer(char8_t const (& literal)[N])
|
||||
{ return reinterpret_cast<char const *>(literal); }
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined LIBO_INTERNAL_ONLY
|
||||
template<std::size_t N, typename T>
|
||||
struct ConstCharArrayDetector<sal_Unicode const [N], T> {
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SFX2_INC_STRINGS_HRC
|
||||
#define INCLUDED_SFX2_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_TEMPLATE_FILTER NC_("STR_TEMPLATE_FILTER", "Templates")
|
||||
#define STR_SAVEDOC NC_("STR_SAVEDOC", "~Save")
|
||||
|
@ -19,7 +19,7 @@
|
||||
#ifndef INCLUDED_SVL_SVL_HRC
|
||||
#define INCLUDED_SVL_SVL_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
// Internet Media Type Presentations
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SVTOOLS_INC_STRINGS_HRC
|
||||
#define INCLUDED_SVTOOLS_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_UNDO NC_("STR_UNDO", "Undo: ")
|
||||
#define STR_REDO NC_("STR_REDO", "Re~do: ")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SVX_INC_STRINGS_HRC
|
||||
#define INCLUDED_SVX_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_ObjNameSingulNONE NC_("STR_ObjNameSingulNONE", "Drawing object")
|
||||
#define STR_ObjNamePluralNONE NC_("STR_ObjNamePluralNONE", "Drawing objects")
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <editeng/editids.hrc>
|
||||
#include <utility>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, sal_uInt16> RID_ATTR_NAMES[] =
|
||||
{
|
||||
|
@ -10,7 +10,7 @@
|
||||
#ifndef INCLUDED_REPORTDESIGN_INC_FNP_HRC
|
||||
#define INCLUDED_REPORTDESIGN_INC_FNP_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* RID_STR_FORCENEWPAGE_CONST[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_REPORTDESIGN_INC_STRINGS_HRC
|
||||
#define INCLUDED_REPORTDESIGN_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define RID_STR_PROPPAGE_DEFAULT NC_("RID_STR_PROPPAGE_DEFAULT", "General")
|
||||
#define RID_STR_PROPPAGE_DATA NC_("RID_STR_PROPPAGE_DATA", "Data")
|
||||
|
@ -2918,11 +2918,12 @@ void Test::testInvalidUtf8() {
|
||||
auto const converter = rtl_createTextToUnicodeConverter(
|
||||
RTL_TEXTENCODING_JAVA_UTF8);
|
||||
CPPUNIT_ASSERT(converter != nullptr);
|
||||
OStringLiteral const input(u8"\U00010000");
|
||||
sal_Unicode buf[TEST_STRING_SIZE];
|
||||
sal_uInt32 info;
|
||||
sal_Size converted;
|
||||
auto const size = rtl_convertTextToUnicode(
|
||||
converter, nullptr, RTL_CONSTASCII_STRINGPARAM(u8"\U00010000"), buf,
|
||||
converter, nullptr, input.data, input.size, buf,
|
||||
TEST_STRING_SIZE,
|
||||
(RTL_TEXTTOUNICODE_FLAGS_UNDEFINED_ERROR
|
||||
| RTL_TEXTTOUNICODE_FLAGS_MBUNDEFINED_ERROR
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SC_INC_COMPILER_HRC
|
||||
#define INCLUDED_SC_INC_COMPILER_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* RID_FUNCTION_CATEGORIES[] =
|
||||
{
|
||||
|
@ -20,8 +20,8 @@
|
||||
#ifndef SC_GLOBSTR_HRC
|
||||
#define SC_GLOBSTR_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NNC_(Context, StringSingular, StringPlural) (Context "\004" u8##StringSingular "\004" u8##StringPlural)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
#define NNC_(Context, StringSingular, StringPlural) reinterpret_cast<char const *>(Context "\004" u8##StringSingular "\004" u8##StringPlural)
|
||||
|
||||
/*
|
||||
* This file is reserved for string IDs of permanently loaded resident string
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SC_INC_PVFUNDLG_HRC
|
||||
#define INCLUDED_SC_INC_PVFUNDLG_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* SCSTR_DPFUNCLISTBOX[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SC_INC_SCERRORS_HRC
|
||||
#define INCLUDED_SC_INC_SCERRORS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#include "scerrors.hxx"
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
#ifndef INCLUDED_SC_INC_SCFUNCS_HRC
|
||||
#define INCLUDED_SC_INC_SCFUNCS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
/* Resource file for the function wizard / autopilot.
|
||||
*
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <svl/style.hxx>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, SfxStyleSearchBits> RID_CELLSTYLEFAMILY[] =
|
||||
{
|
||||
|
@ -20,8 +20,8 @@
|
||||
#ifndef INCLUDED_SC_INC_STRINGS_HRC
|
||||
#define INCLUDED_SC_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NNC_(Context, StringSingular, StringPlural) (Context "\004" u8##StringSingular "\004" u8##StringPlural)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
#define NNC_(Context, StringSingular, StringPlural) reinterpret_cast<char const *>(Context "\004" u8##StringSingular "\004" u8##StringPlural)
|
||||
|
||||
// Strings for interface names -------------------------------------------
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SC_INC_UNITS_HRC
|
||||
#define INCLUDED_SC_INC_UNITS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, FieldUnit> SCSTR_UNIT[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SCADDINS_INC_ANALYSIS_HRC
|
||||
#define INCLUDED_SCADDINS_INC_ANALYSIS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* ANALYSIS_Workday[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SCADDINS_INC_PRICING_HRC
|
||||
#define INCLUDED_SCADDINS_INC_PRICING_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* DATE_FUNCDESC_DiffWeeks[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SCADDINS_INC_PRICING_HRC
|
||||
#define INCLUDED_SCADDINS_INC_PRICING_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
// function and parameter description
|
||||
const char* PRICING_FUNCDESC_OptBarrier[] =
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SCADDINS_INC_STRINGS_HRC
|
||||
#define INCLUDED_SCADDINS_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
// function names as accessible from cells
|
||||
#define PRICING_FUNCNAME_OptBarrier NC_("PRICING_FUNCNAME_OptBarrier", "OPT_BARRIER")
|
||||
|
@ -22,608 +22,608 @@
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Workday[2] =
|
||||
{
|
||||
u8"ARBEITSTAG",
|
||||
u8"WORKDAY"
|
||||
reinterpret_cast<char const *>(u8"ARBEITSTAG"),
|
||||
reinterpret_cast<char const *>(u8"WORKDAY")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Yearfrac[2] =
|
||||
{
|
||||
u8"BRTEILJAHRE",
|
||||
u8"YEARFRAC"
|
||||
reinterpret_cast<char const *>(u8"BRTEILJAHRE"),
|
||||
reinterpret_cast<char const *>(u8"YEARFRAC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Edate[2] =
|
||||
{
|
||||
u8"EDATUM",
|
||||
u8"EDATE"
|
||||
reinterpret_cast<char const *>(u8"EDATUM"),
|
||||
reinterpret_cast<char const *>(u8"EDATE")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Weeknum[2] =
|
||||
{
|
||||
u8"KALENDERWOCHE",
|
||||
u8"WEEKNUM"
|
||||
reinterpret_cast<char const *>(u8"KALENDERWOCHE"),
|
||||
reinterpret_cast<char const *>(u8"WEEKNUM")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Eomonth[2] =
|
||||
{
|
||||
u8"MONATSENDE",
|
||||
u8"EOMONTH"
|
||||
reinterpret_cast<char const *>(u8"MONATSENDE"),
|
||||
reinterpret_cast<char const *>(u8"EOMONTH")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Networkdays[2] =
|
||||
{
|
||||
u8"NETTOARBEITSTAGE",
|
||||
u8"NETWORKDAYS"
|
||||
reinterpret_cast<char const *>(u8"NETTOARBEITSTAGE"),
|
||||
reinterpret_cast<char const *>(u8"NETWORKDAYS")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Amordegrc[2] =
|
||||
{
|
||||
u8"AMORDEGRK",
|
||||
u8"AMORDEGRC"
|
||||
reinterpret_cast<char const *>(u8"AMORDEGRK"),
|
||||
reinterpret_cast<char const *>(u8"AMORDEGRC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Amorlinc[2] =
|
||||
{
|
||||
u8"AMORLINEARK",
|
||||
u8"AMORLINC"
|
||||
reinterpret_cast<char const *>(u8"AMORLINEARK"),
|
||||
reinterpret_cast<char const *>(u8"AMORLINC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Accrint[2] =
|
||||
{
|
||||
u8"AUFGELZINS",
|
||||
u8"ACCRINT"
|
||||
reinterpret_cast<char const *>(u8"AUFGELZINS"),
|
||||
reinterpret_cast<char const *>(u8"ACCRINT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Accrintm[2] =
|
||||
{
|
||||
u8"AUFGELZINSF",
|
||||
u8"ACCRINTM"
|
||||
reinterpret_cast<char const *>(u8"AUFGELZINSF"),
|
||||
reinterpret_cast<char const *>(u8"ACCRINTM")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Received[2] =
|
||||
{
|
||||
u8"AUSZAHLUNG",
|
||||
u8"RECEIVED"
|
||||
reinterpret_cast<char const *>(u8"AUSZAHLUNG"),
|
||||
reinterpret_cast<char const *>(u8"RECEIVED")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Disc[2] =
|
||||
{
|
||||
u8"DISAGIO",
|
||||
u8"DISC"
|
||||
reinterpret_cast<char const *>(u8"DISAGIO"),
|
||||
reinterpret_cast<char const *>(u8"DISC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Duration[2] =
|
||||
{
|
||||
u8"DURATION",
|
||||
u8"DURATION"
|
||||
reinterpret_cast<char const *>(u8"DURATION"),
|
||||
reinterpret_cast<char const *>(u8"DURATION")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Effect[2] =
|
||||
{
|
||||
u8"EFFEKTIV",
|
||||
u8"EFFECT"
|
||||
reinterpret_cast<char const *>(u8"EFFEKTIV"),
|
||||
reinterpret_cast<char const *>(u8"EFFECT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Cumprinc[2] =
|
||||
{
|
||||
u8"KUMKAPITAL",
|
||||
u8"CUMPRINC"
|
||||
reinterpret_cast<char const *>(u8"KUMKAPITAL"),
|
||||
reinterpret_cast<char const *>(u8"CUMPRINC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Cumipmt[2] =
|
||||
{
|
||||
u8"KUMZINSZ",
|
||||
u8"CUMIPMT"
|
||||
reinterpret_cast<char const *>(u8"KUMZINSZ"),
|
||||
reinterpret_cast<char const *>(u8"CUMIPMT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Price[2] =
|
||||
{
|
||||
u8"KURS",
|
||||
u8"PRICE"
|
||||
reinterpret_cast<char const *>(u8"KURS"),
|
||||
reinterpret_cast<char const *>(u8"PRICE")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Pricedisc[2] =
|
||||
{
|
||||
u8"KURSDISAGIO",
|
||||
u8"PRICEDISC"
|
||||
reinterpret_cast<char const *>(u8"KURSDISAGIO"),
|
||||
reinterpret_cast<char const *>(u8"PRICEDISC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Pricemat[2] =
|
||||
{
|
||||
u8"KURSFÄLLIG",
|
||||
u8"PRICEMAT"
|
||||
reinterpret_cast<char const *>(u8"KURSFÄLLIG"),
|
||||
reinterpret_cast<char const *>(u8"PRICEMAT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Mduration[2] =
|
||||
{
|
||||
u8"MDURATION",
|
||||
u8"MDURATION"
|
||||
reinterpret_cast<char const *>(u8"MDURATION"),
|
||||
reinterpret_cast<char const *>(u8"MDURATION")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Nominal[2] =
|
||||
{
|
||||
u8"NOMINAL",
|
||||
u8"NOMINAL"
|
||||
reinterpret_cast<char const *>(u8"NOMINAL"),
|
||||
reinterpret_cast<char const *>(u8"NOMINAL")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Dollarfr[2] =
|
||||
{
|
||||
u8"NOTIERUNGBRU",
|
||||
u8"DOLLARFR"
|
||||
reinterpret_cast<char const *>(u8"NOTIERUNGBRU"),
|
||||
reinterpret_cast<char const *>(u8"DOLLARFR")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Dollarde[2] =
|
||||
{
|
||||
u8"NOTIERUNGDEZ",
|
||||
u8"DOLLARDE"
|
||||
reinterpret_cast<char const *>(u8"NOTIERUNGDEZ"),
|
||||
reinterpret_cast<char const *>(u8"DOLLARDE")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Yield[2] =
|
||||
{
|
||||
u8"RENDITE",
|
||||
u8"YIELD"
|
||||
reinterpret_cast<char const *>(u8"RENDITE"),
|
||||
reinterpret_cast<char const *>(u8"YIELD")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Yielddisc[2] =
|
||||
{
|
||||
u8"RENDITEDIS",
|
||||
u8"YIELDDISC"
|
||||
reinterpret_cast<char const *>(u8"RENDITEDIS"),
|
||||
reinterpret_cast<char const *>(u8"YIELDDISC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Yieldmat[2] =
|
||||
{
|
||||
u8"RENDITEFÄLL",
|
||||
u8"YIELDMAT"
|
||||
reinterpret_cast<char const *>(u8"RENDITEFÄLL"),
|
||||
reinterpret_cast<char const *>(u8"YIELDMAT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Tbilleq[2] =
|
||||
{
|
||||
u8"TBILLÄQUIV",
|
||||
u8"TBILLEQ"
|
||||
reinterpret_cast<char const *>(u8"TBILLÄQUIV"),
|
||||
reinterpret_cast<char const *>(u8"TBILLEQ")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Tbillprice[2] =
|
||||
{
|
||||
u8"TBILLKURS",
|
||||
u8"TBILLPRICE"
|
||||
reinterpret_cast<char const *>(u8"TBILLKURS"),
|
||||
reinterpret_cast<char const *>(u8"TBILLPRICE")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Tbillyield[2] =
|
||||
{
|
||||
u8"TBILLRENDITE",
|
||||
u8"TBILLYIELD"
|
||||
reinterpret_cast<char const *>(u8"TBILLRENDITE"),
|
||||
reinterpret_cast<char const *>(u8"TBILLYIELD")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Oddfprice[2] =
|
||||
{
|
||||
u8"UNREGER.KURS",
|
||||
u8"ODDFPRICE"
|
||||
reinterpret_cast<char const *>(u8"UNREGER.KURS"),
|
||||
reinterpret_cast<char const *>(u8"ODDFPRICE")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Oddfyield[2] =
|
||||
{
|
||||
u8"UNREGER.REND",
|
||||
u8"ODDFYIELD"
|
||||
reinterpret_cast<char const *>(u8"UNREGER.REND"),
|
||||
reinterpret_cast<char const *>(u8"ODDFYIELD")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Oddlprice[2] =
|
||||
{
|
||||
u8"UNREGLE.KURS",
|
||||
u8"ODDLPRICE"
|
||||
reinterpret_cast<char const *>(u8"UNREGLE.KURS"),
|
||||
reinterpret_cast<char const *>(u8"ODDLPRICE")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Oddlyield[2] =
|
||||
{
|
||||
u8"UNREGLE.REND",
|
||||
u8"ODDLYIELD"
|
||||
reinterpret_cast<char const *>(u8"UNREGLE.REND"),
|
||||
reinterpret_cast<char const *>(u8"ODDLYIELD")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Xirr[2] =
|
||||
{
|
||||
u8"XINTZINSFUSS",
|
||||
u8"XIRR"
|
||||
reinterpret_cast<char const *>(u8"XINTZINSFUSS"),
|
||||
reinterpret_cast<char const *>(u8"XIRR")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Xnpv[2] =
|
||||
{
|
||||
u8"XKAPITALWERT",
|
||||
u8"XNPV"
|
||||
reinterpret_cast<char const *>(u8"XKAPITALWERT"),
|
||||
reinterpret_cast<char const *>(u8"XNPV")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Intrate[2] =
|
||||
{
|
||||
u8"ZINSSATZ",
|
||||
u8"INTRATE"
|
||||
reinterpret_cast<char const *>(u8"ZINSSATZ"),
|
||||
reinterpret_cast<char const *>(u8"INTRATE")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Coupncd[2] =
|
||||
{
|
||||
u8"ZINSTERMNZ",
|
||||
u8"COUPNCD"
|
||||
reinterpret_cast<char const *>(u8"ZINSTERMNZ"),
|
||||
reinterpret_cast<char const *>(u8"COUPNCD")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Coupdays[2] =
|
||||
{
|
||||
u8"ZINSTERMTAGE",
|
||||
u8"COUPDAYS"
|
||||
reinterpret_cast<char const *>(u8"ZINSTERMTAGE"),
|
||||
reinterpret_cast<char const *>(u8"COUPDAYS")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Coupdaysnc[2] =
|
||||
{
|
||||
u8"ZINSTERMTAGNZ",
|
||||
u8"COUPDAYSNC"
|
||||
reinterpret_cast<char const *>(u8"ZINSTERMTAGNZ"),
|
||||
reinterpret_cast<char const *>(u8"COUPDAYSNC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Coupdaybs[2] =
|
||||
{
|
||||
u8"ZINSTERMTAGVA",
|
||||
u8"COUPDAYBS"
|
||||
reinterpret_cast<char const *>(u8"ZINSTERMTAGVA"),
|
||||
reinterpret_cast<char const *>(u8"COUPDAYBS")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Couppcd[2] =
|
||||
{
|
||||
u8"ZINSTERMVZ",
|
||||
u8"COUPPCD"
|
||||
reinterpret_cast<char const *>(u8"ZINSTERMVZ"),
|
||||
reinterpret_cast<char const *>(u8"COUPPCD")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Coupnum[2] =
|
||||
{
|
||||
u8"ZINSTERMZAHL",
|
||||
u8"COUPNUM"
|
||||
reinterpret_cast<char const *>(u8"ZINSTERMZAHL"),
|
||||
reinterpret_cast<char const *>(u8"COUPNUM")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Fvschedule[2] =
|
||||
{
|
||||
u8"ZW2",
|
||||
u8"FVSCHEDULE"
|
||||
reinterpret_cast<char const *>(u8"ZW2"),
|
||||
reinterpret_cast<char const *>(u8"FVSCHEDULE")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Iseven[2] =
|
||||
{
|
||||
u8"ISTGERADE",
|
||||
u8"ISEVEN"
|
||||
reinterpret_cast<char const *>(u8"ISTGERADE"),
|
||||
reinterpret_cast<char const *>(u8"ISEVEN")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Isodd[2] =
|
||||
{
|
||||
u8"ISTUNGERADE",
|
||||
u8"ISODD"
|
||||
reinterpret_cast<char const *>(u8"ISTUNGERADE"),
|
||||
reinterpret_cast<char const *>(u8"ISODD")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Gcd[2] =
|
||||
{
|
||||
u8"GGT",
|
||||
u8"GCD"
|
||||
reinterpret_cast<char const *>(u8"GGT"),
|
||||
reinterpret_cast<char const *>(u8"GCD")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Lcm[2] =
|
||||
{
|
||||
u8"KGV",
|
||||
u8"LCM"
|
||||
reinterpret_cast<char const *>(u8"KGV"),
|
||||
reinterpret_cast<char const *>(u8"LCM")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Multinomial[2] =
|
||||
{
|
||||
u8"POLYNOMIAL",
|
||||
u8"MULTINOMIAL"
|
||||
reinterpret_cast<char const *>(u8"POLYNOMIAL"),
|
||||
reinterpret_cast<char const *>(u8"MULTINOMIAL")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Seriessum[2] =
|
||||
{
|
||||
u8"POTENZREIHE",
|
||||
u8"SERIESSUM"
|
||||
reinterpret_cast<char const *>(u8"POTENZREIHE"),
|
||||
reinterpret_cast<char const *>(u8"SERIESSUM")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Quotient[2] =
|
||||
{
|
||||
u8"QUOTIENT",
|
||||
u8"QUOTIENT"
|
||||
reinterpret_cast<char const *>(u8"QUOTIENT"),
|
||||
reinterpret_cast<char const *>(u8"QUOTIENT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Mround[2] =
|
||||
{
|
||||
u8"VRUNDEN",
|
||||
u8"MROUND"
|
||||
reinterpret_cast<char const *>(u8"VRUNDEN"),
|
||||
reinterpret_cast<char const *>(u8"MROUND")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Sqrtpi[2] =
|
||||
{
|
||||
u8"WURZELPI",
|
||||
u8"SQRTPI"
|
||||
reinterpret_cast<char const *>(u8"WURZELPI"),
|
||||
reinterpret_cast<char const *>(u8"SQRTPI")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Randbetween[2] =
|
||||
{
|
||||
u8"ZUFALLSBEREICH",
|
||||
u8"RANDBETWEEN"
|
||||
reinterpret_cast<char const *>(u8"ZUFALLSBEREICH"),
|
||||
reinterpret_cast<char const *>(u8"RANDBETWEEN")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Besseli[2] =
|
||||
{
|
||||
u8"BESSELI",
|
||||
u8"BESSELI"
|
||||
reinterpret_cast<char const *>(u8"BESSELI"),
|
||||
reinterpret_cast<char const *>(u8"BESSELI")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Besselj[2] =
|
||||
{
|
||||
u8"BESSELJ",
|
||||
u8"BESSELJ"
|
||||
reinterpret_cast<char const *>(u8"BESSELJ"),
|
||||
reinterpret_cast<char const *>(u8"BESSELJ")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Besselk[2] =
|
||||
{
|
||||
u8"BESSELK",
|
||||
u8"BESSELK"
|
||||
reinterpret_cast<char const *>(u8"BESSELK"),
|
||||
reinterpret_cast<char const *>(u8"BESSELK")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Bessely[2] =
|
||||
{
|
||||
u8"BESSELY",
|
||||
u8"BESSELY"
|
||||
reinterpret_cast<char const *>(u8"BESSELY"),
|
||||
reinterpret_cast<char const *>(u8"BESSELY")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Bin2Dec[2] =
|
||||
{
|
||||
u8"BININDEZ",
|
||||
u8"BIN2DEC"
|
||||
reinterpret_cast<char const *>(u8"BININDEZ"),
|
||||
reinterpret_cast<char const *>(u8"BIN2DEC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Bin2Hex[2] =
|
||||
{
|
||||
u8"BININHEX",
|
||||
u8"BIN2HEX"
|
||||
reinterpret_cast<char const *>(u8"BININHEX"),
|
||||
reinterpret_cast<char const *>(u8"BIN2HEX")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Bin2Oct[2] =
|
||||
{
|
||||
u8"BININOKT",
|
||||
u8"BIN2OCT"
|
||||
reinterpret_cast<char const *>(u8"BININOKT"),
|
||||
reinterpret_cast<char const *>(u8"BIN2OCT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Delta[2] =
|
||||
{
|
||||
u8"DELTA",
|
||||
u8"DELTA"
|
||||
reinterpret_cast<char const *>(u8"DELTA"),
|
||||
reinterpret_cast<char const *>(u8"DELTA")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Dec2Bin[2] =
|
||||
{
|
||||
u8"DEZINBIN",
|
||||
u8"DEC2BIN"
|
||||
reinterpret_cast<char const *>(u8"DEZINBIN"),
|
||||
reinterpret_cast<char const *>(u8"DEC2BIN")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Dec2Hex[2] =
|
||||
{
|
||||
u8"DEZINHEX",
|
||||
u8"DEC2HEX"
|
||||
reinterpret_cast<char const *>(u8"DEZINHEX"),
|
||||
reinterpret_cast<char const *>(u8"DEC2HEX")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Dec2Oct[2] =
|
||||
{
|
||||
u8"DEZINOKT",
|
||||
u8"DEC2OCT"
|
||||
reinterpret_cast<char const *>(u8"DEZINOKT"),
|
||||
reinterpret_cast<char const *>(u8"DEC2OCT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Erf[2] =
|
||||
{
|
||||
u8"GAUSSFEHLER",
|
||||
u8"ERF"
|
||||
reinterpret_cast<char const *>(u8"GAUSSFEHLER"),
|
||||
reinterpret_cast<char const *>(u8"ERF")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Erfc[2] =
|
||||
{
|
||||
u8"GAUSSFKOMPL",
|
||||
u8"ERFC"
|
||||
reinterpret_cast<char const *>(u8"GAUSSFKOMPL"),
|
||||
reinterpret_cast<char const *>(u8"ERFC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Gestep[2] =
|
||||
{
|
||||
u8"GGANZZAHL",
|
||||
u8"GESTEP"
|
||||
reinterpret_cast<char const *>(u8"GGANZZAHL"),
|
||||
reinterpret_cast<char const *>(u8"GESTEP")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Hex2Bin[2] =
|
||||
{
|
||||
u8"HEXINBIN",
|
||||
u8"HEX2BIN"
|
||||
reinterpret_cast<char const *>(u8"HEXINBIN"),
|
||||
reinterpret_cast<char const *>(u8"HEX2BIN")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Hex2Dec[2] =
|
||||
{
|
||||
u8"HEXINDEZ",
|
||||
u8"HEX2DEC"
|
||||
reinterpret_cast<char const *>(u8"HEXINDEZ"),
|
||||
reinterpret_cast<char const *>(u8"HEX2DEC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Hex2Oct[2] =
|
||||
{
|
||||
u8"HEXINOKT",
|
||||
u8"HEX2OCT"
|
||||
reinterpret_cast<char const *>(u8"HEXINOKT"),
|
||||
reinterpret_cast<char const *>(u8"HEX2OCT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imabs[2] =
|
||||
{
|
||||
u8"IMABS",
|
||||
u8"IMABS"
|
||||
reinterpret_cast<char const *>(u8"IMABS"),
|
||||
reinterpret_cast<char const *>(u8"IMABS")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imaginary[2] =
|
||||
{
|
||||
u8"IMAGINÄRTEIL",
|
||||
u8"IMAGINARY"
|
||||
reinterpret_cast<char const *>(u8"IMAGINÄRTEIL"),
|
||||
reinterpret_cast<char const *>(u8"IMAGINARY")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Impower[2] =
|
||||
{
|
||||
u8"IMAPOTENZ",
|
||||
u8"IMPOWER"
|
||||
reinterpret_cast<char const *>(u8"IMAPOTENZ"),
|
||||
reinterpret_cast<char const *>(u8"IMPOWER")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imargument[2] =
|
||||
{
|
||||
u8"IMARGUMENT",
|
||||
u8"IMARGUMENT"
|
||||
reinterpret_cast<char const *>(u8"IMARGUMENT"),
|
||||
reinterpret_cast<char const *>(u8"IMARGUMENT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imcos[2] =
|
||||
{
|
||||
u8"IMCOS",
|
||||
u8"IMCOS"
|
||||
reinterpret_cast<char const *>(u8"IMCOS"),
|
||||
reinterpret_cast<char const *>(u8"IMCOS")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imdiv[2] =
|
||||
{
|
||||
u8"IMDIV",
|
||||
u8"IMDIV"
|
||||
reinterpret_cast<char const *>(u8"IMDIV"),
|
||||
reinterpret_cast<char const *>(u8"IMDIV")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imexp[2] =
|
||||
{
|
||||
u8"IMEXP",
|
||||
u8"IMEXP"
|
||||
reinterpret_cast<char const *>(u8"IMEXP"),
|
||||
reinterpret_cast<char const *>(u8"IMEXP")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imconjugate[2] =
|
||||
{
|
||||
u8"IMKONJUGIERTE",
|
||||
u8"IMCONJUGATE"
|
||||
reinterpret_cast<char const *>(u8"IMKONJUGIERTE"),
|
||||
reinterpret_cast<char const *>(u8"IMCONJUGATE")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imln[2] =
|
||||
{
|
||||
u8"IMLN",
|
||||
u8"IMLN"
|
||||
reinterpret_cast<char const *>(u8"IMLN"),
|
||||
reinterpret_cast<char const *>(u8"IMLN")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imlog10[2] =
|
||||
{
|
||||
u8"IMLOG10",
|
||||
u8"IMLOG10"
|
||||
reinterpret_cast<char const *>(u8"IMLOG10"),
|
||||
reinterpret_cast<char const *>(u8"IMLOG10")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imlog2[2] =
|
||||
{
|
||||
u8"IMLOG2",
|
||||
u8"IMLOG2"
|
||||
reinterpret_cast<char const *>(u8"IMLOG2"),
|
||||
reinterpret_cast<char const *>(u8"IMLOG2")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Improduct[2] =
|
||||
{
|
||||
u8"IMPRODUKT",
|
||||
u8"IMPRODUCT"
|
||||
reinterpret_cast<char const *>(u8"IMPRODUKT"),
|
||||
reinterpret_cast<char const *>(u8"IMPRODUCT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imreal[2] =
|
||||
{
|
||||
u8"IMREALTEIL",
|
||||
u8"IMREAL"
|
||||
reinterpret_cast<char const *>(u8"IMREALTEIL"),
|
||||
reinterpret_cast<char const *>(u8"IMREAL")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imsin[2] =
|
||||
{
|
||||
u8"IMSIN",
|
||||
u8"IMSIN"
|
||||
reinterpret_cast<char const *>(u8"IMSIN"),
|
||||
reinterpret_cast<char const *>(u8"IMSIN")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imsub[2] =
|
||||
{
|
||||
u8"IMSUB",
|
||||
u8"IMSUB"
|
||||
reinterpret_cast<char const *>(u8"IMSUB"),
|
||||
reinterpret_cast<char const *>(u8"IMSUB")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imsum[2] =
|
||||
{
|
||||
u8"IMSUMME",
|
||||
u8"IMSUM"
|
||||
reinterpret_cast<char const *>(u8"IMSUMME"),
|
||||
reinterpret_cast<char const *>(u8"IMSUM")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imsqrt[2] =
|
||||
{
|
||||
u8"IMWURZEL",
|
||||
u8"IMSQRT"
|
||||
reinterpret_cast<char const *>(u8"IMWURZEL"),
|
||||
reinterpret_cast<char const *>(u8"IMSQRT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imtan[2] =
|
||||
{
|
||||
u8"IMTAN",
|
||||
u8"IMTAN"
|
||||
reinterpret_cast<char const *>(u8"IMTAN"),
|
||||
reinterpret_cast<char const *>(u8"IMTAN")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imsec[2] =
|
||||
{
|
||||
u8"IMSEC",
|
||||
u8"IMSEC"
|
||||
reinterpret_cast<char const *>(u8"IMSEC"),
|
||||
reinterpret_cast<char const *>(u8"IMSEC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imcsc[2] =
|
||||
{
|
||||
u8"IMCSC",
|
||||
u8"IMCSC"
|
||||
reinterpret_cast<char const *>(u8"IMCSC"),
|
||||
reinterpret_cast<char const *>(u8"IMCSC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imcot[2] =
|
||||
{
|
||||
u8"IMCOT",
|
||||
u8"IMCOT"
|
||||
reinterpret_cast<char const *>(u8"IMCOT"),
|
||||
reinterpret_cast<char const *>(u8"IMCOT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imsinh[2] =
|
||||
{
|
||||
u8"IMSINH",
|
||||
u8"IMSINH"
|
||||
reinterpret_cast<char const *>(u8"IMSINH"),
|
||||
reinterpret_cast<char const *>(u8"IMSINH")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imcosh[2] =
|
||||
{
|
||||
u8"IMCOSH",
|
||||
u8"IMCOSH"
|
||||
reinterpret_cast<char const *>(u8"IMCOSH"),
|
||||
reinterpret_cast<char const *>(u8"IMCOSH")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imsech[2] =
|
||||
{
|
||||
u8"IMSECH",
|
||||
u8"IMSECH"
|
||||
reinterpret_cast<char const *>(u8"IMSECH"),
|
||||
reinterpret_cast<char const *>(u8"IMSECH")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Imcsch[2] =
|
||||
{
|
||||
u8"IMCSCH",
|
||||
u8"IMCSCH"
|
||||
reinterpret_cast<char const *>(u8"IMCSCH"),
|
||||
reinterpret_cast<char const *>(u8"IMCSCH")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Complex[2] =
|
||||
{
|
||||
u8"KOMPLEXE",
|
||||
u8"COMPLEX"
|
||||
reinterpret_cast<char const *>(u8"KOMPLEXE"),
|
||||
reinterpret_cast<char const *>(u8"COMPLEX")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Oct2Bin[2] =
|
||||
{
|
||||
u8"OKTINBIN",
|
||||
u8"OCT2BIN"
|
||||
reinterpret_cast<char const *>(u8"OKTINBIN"),
|
||||
reinterpret_cast<char const *>(u8"OCT2BIN")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Oct2Dec[2] =
|
||||
{
|
||||
u8"OKTINDEZ",
|
||||
u8"OCT2DEC"
|
||||
reinterpret_cast<char const *>(u8"OKTINDEZ"),
|
||||
reinterpret_cast<char const *>(u8"OCT2DEC")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Oct2Hex[2] =
|
||||
{
|
||||
u8"OKTINHEX",
|
||||
u8"OCT2HEX"
|
||||
reinterpret_cast<char const *>(u8"OKTINHEX"),
|
||||
reinterpret_cast<char const *>(u8"OCT2HEX")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Convert[2] =
|
||||
{
|
||||
u8"UMWANDELN",
|
||||
u8"CONVERT"
|
||||
reinterpret_cast<char const *>(u8"UMWANDELN"),
|
||||
reinterpret_cast<char const *>(u8"CONVERT")
|
||||
};
|
||||
|
||||
static const char* ANALYSIS_DEFFUNCNAME_Factdouble[2] =
|
||||
{
|
||||
u8"ZWEIFAKULTÄT",
|
||||
u8"FACTDOUBLE"
|
||||
reinterpret_cast<char const *>(u8"ZWEIFAKULTÄT"),
|
||||
reinterpret_cast<char const *>(u8"FACTDOUBLE")
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SCCOMP_INC_STRINGS_HRC
|
||||
#define INCLUDED_SCCOMP_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define RID_SOLVER_COMPONENT NC_("RID_SOLVER_COMPONENT", "%PRODUCTNAME Linear Solver")
|
||||
#define RID_COINMP_SOLVER_COMPONENT NC_("RID_COINMP_SOLVER_COMPONENT", "%PRODUCTNAME CoinMP Linear Solver")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SD_INC_DOCUMENTRENDERER_HRC
|
||||
#define INCLUDED_SD_INC_DOCUMENTRENDERER_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* STR_IMPRESS_PRINT_UI_CONTENT_CHOICES[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SD_INC_ERRHDL_HRC
|
||||
#define INCLUDED_SD_INC_ERRHDL_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#include "sderror.hxx"
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <svl/style.hxx>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, SfxStyleSearchBits> RID_GRAPHICSTYLEFAMILY[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SD_INC_STRINGS_HRC
|
||||
#define INCLUDED_SD_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_NULL NC_("STR_NULL", "None")
|
||||
#define STR_INSERTPAGE NC_("STR_INSERTPAGE", "Insert Slide")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SFX2_INC_DINFDLG_HRC
|
||||
#define INCLUDED_SFX2_INC_DINFDLG_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* SFX_CB_PROPERTY_STRINGARRAY[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SFX2_INC_DOCTEMPL_HRC
|
||||
#define INCLUDED_SFX2_INC_DOCTEMPL_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* TEMPLATE_LONG_NAMES_ARY[] =
|
||||
{
|
||||
|
@ -9,7 +9,7 @@
|
||||
#ifndef INCLUDED_VCL_INC_STRINGS_HRC
|
||||
#define INCLUDED_VCL_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* RID_UI_SYMBOLSET_NAMES[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SM_INC_STRINGS_HRC
|
||||
#define INCLUDED_SM_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define RID_PLUSX_HELP NC_("RID_PLUSX_HELP", "+ Sign" )
|
||||
#define RID_MINUSX_HELP NC_("RID_MINUSX_HELP", "- Sign" )
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include <editeng/borderline.hxx>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, SvxBorderLineStyle> RID_SVXSTR_BORDERLINE[] =
|
||||
{
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <svtools/sfxecode.hxx>
|
||||
#include <svtools/soerr.hxx>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const ErrMsgCode RID_ERRCTX[] =
|
||||
{
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <i18nlangtag/lang.h>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, LanguageType> STR_ARR_SVT_LANGUAGE_TABLE[] =
|
||||
{
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <svtools/controldims.hxx>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define DI_TITLE 1
|
||||
#define DI_FROM 2
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <tools/fldunit.hxx>
|
||||
#include <utility>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, FieldUnit> RID_SVXSTR_FIELDUNIT_TABLE[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SVX_INC_FMSTRING_HRC
|
||||
#define INCLUDED_SVX_INC_FMSTRING_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* RID_RSC_SQL_INTERNATIONAL[] =
|
||||
{
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
std::pair<const char*, sal_uInt16> RID_SVXSTR_FRMSEL_TEXTS[] =
|
||||
{
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, int> RID_SVXSTRARY_NUMBERINGTYPE[] =
|
||||
{
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, int> RID_SVXSTRARY_SAMECONTENT[] =
|
||||
{
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
// To translators: this is a listbox labelled by "Spacing:", inch units
|
||||
const std::pair<const char*, int> RID_SVXSTRARY_SPACING_INCH[] =
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#include <svx/svxerr.hxx>
|
||||
#include <editeng/editerr.hxx>
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SVX_INC_SWFRAMEPOSSTRINGS_HRC
|
||||
#define INCLUDED_SVX_INC_SWFRAMEPOSSTRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
//the following string have to match the (enum values) positions in svx/swframeposstrings.hxx!
|
||||
const char* RID_SVXSW_FRAMEPOSITIONS[] =
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SVX_INC_TABWIN_HRC
|
||||
#define INCLUDED_SVX_INC_TABWIN_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* RID_RSC_TABWIN_PREFIX[] =
|
||||
{
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <rtl/textenc.h>
|
||||
#include <utility>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
// Encodings for which no conversion exist yet are commented out.
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <i18nutil/paper.hxx>
|
||||
#include <utility>
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, int> RID_SVXSTRARY_PAPERSIZE_STD[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SW_INC_APP_HRC
|
||||
#define INCLUDED_SW_INC_APP_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#include <svl/style.hxx>
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "tox.hxx"
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, SwTOOElements> RES_SRCTYPES[] =
|
||||
{
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "rcid.hrc"
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
// Elements -----------------------------------------------------------------
|
||||
#define MM_PART_TITLE 0
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "swerror.h"
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define ERR_CODE( class, err ) ErrCode(ErrCodeArea::Sw, class, err.GetCode())
|
||||
#define WARN_CODE( class, err ) ErrCode(ErrCodeArea::Sw, class, err.GetCode())
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SW_INC_MMADDRESSBLOCK_HRC
|
||||
#define INCLUDED_SW_INC_MMADDRESSBLOCK_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* RA_SALUTATION[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SW_INC_OPTLOAD_HRC
|
||||
#define INCLUDED_SW_INC_OPTLOAD_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, FieldUnit> STR_ARR_METRIC[] =
|
||||
{
|
||||
|
@ -10,7 +10,7 @@
|
||||
#ifndef INCLUDED_SW_INC_PAGEFORMATPANEL_HRC
|
||||
#define INCLUDED_SW_INC_PAGEFORMATPANEL_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
// To translators: this is a listbox labelled by "Margins:", inch units
|
||||
const char* RID_PAGEFORMATPANEL_MARGINS_INCH[] =
|
||||
|
@ -20,8 +20,8 @@
|
||||
#ifndef INCLUDED_SW_INC_STRINGS_HRC
|
||||
#define INCLUDED_SW_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NNC_(Context, StringSingular, StringPlural) (Context "\004" u8##StringSingular "\004" u8##StringPlural)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
#define NNC_(Context, StringSingular, StringPlural) reinterpret_cast<char const *>(Context "\004" u8##StringSingular "\004" u8##StringPlural)
|
||||
|
||||
// Format names
|
||||
#define STR_POOLCHR_FOOTNOTE NC_("STR_POOLCHR_FOOTNOTE", "Footnote Characters")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_SW_INC_UTLUI_HRC
|
||||
#define INCLUDED_SW_INC_UTLUI_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* RID_SHELLRES_AUTOFMTSTRS[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_UUI_INC_IDS_HRC
|
||||
#define INCLUDED_UUI_INC_IDS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const std::pair<const char*, ErrCode> RID_UUI_ERRHDL[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_UUI_INC_STRINGS_HRC
|
||||
#define INCLUDED_UUI_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_ENTER_PASSWORD_TO_OPEN NC_("STR_ENTER_PASSWORD_TO_OPEN", "Enter password to open file: \n")
|
||||
#define STR_ENTER_PASSWORD_TO_MODIFY NC_("STR_ENTER_PASSWORD_TO_MODIFY", "Enter password to modify file: \n")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_VCL_INC_FONT_OPENTYPEFEATRESTRINGS_HRC
|
||||
#define INCLUDED_VCL_INC_FONT_OPENTYPEFEATRESTRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_FONT_FEATURE_ID_AALT NC_("STR_FONT_FEATURE_ID_AALT", "Access All Alternates")
|
||||
#define STR_FONT_FEATURE_ID_AFRC NC_("STR_FONT_FEATURE_ID_AFRC", "Alternative (Vertical) Fractions")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_VCL_INC_PRINT_HRC
|
||||
#define INCLUDED_VCL_INC_PRINT_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* RID_STR_PAPERNAMES[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_VCL_INC_PRINTACCESSORYVIEW_HRC
|
||||
#define INCLUDED_VCL_INC_PRINTACCESSORYVIEW_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
const char* SV_PRINT_NATIVE_STRINGS[] =
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_VCL_INC_STRINGS_HRC
|
||||
#define INCLUDED_VCL_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define SV_RESID_STRING_NOSELECTIONPOSSIBLE NC_("SV_RESID_STRING_NOSELECTIONPOSSIBLE", "<No selection possible>")
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_VCL_INC_UNITS_HRC
|
||||
#define INCLUDED_VCL_INC_UNITS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
std::pair<const char*, FieldUnit> SV_FUNIT_STRINGS[] =
|
||||
{
|
||||
|
@ -10,7 +10,7 @@
|
||||
#ifndef INCLUDED_WRITERPERFECT_INC_STRINGS_HRC
|
||||
#define INCLUDED_WRITERPERFECT_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_ENCODING_DIALOG_TITLE NC_("STR_ENCODING_DIALOG_TITLE", "Import file")
|
||||
#define STR_ENCODING_DIALOG_TITLE_MSMULTIPLAN NC_("STR_ENCODING_DIALOG_TITLE_MSMULTIPLAN", "Import MS Multiplan for DOS file")
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_XMLSECURITY_INC_STRINGS_HRC
|
||||
#define INCLUDED_XMLSECURITY_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
|
||||
|
||||
#define STR_CERTIFICATE_NOT_VALIDATED NC_("STR_CERTIFICATE_NOT_VALIDATED", "The certificate could not be validated.")
|
||||
#define STR_HEADERBAR NC_("STR_HEADERBAR", "Field\tValue")
|
||||
|
Loading…
x
Reference in New Issue
Block a user