Avoid potential negative array index access to cached text.
[LibreOffice.git] / scaddins / source / datefunc / deffuncname.hxx
blob493ef9393cb48efa666e7e190fae3fbfdcc6523f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #pragma once
22 static const char* DATE_DEFFUNCNAME_DiffWeeks[2] =
24 "WOCHEN",
25 "WEEKS"
28 static const char* DATE_DEFFUNCNAME_DiffMonths[2] =
30 "MONATE",
31 "MONTHS"
34 static const char* DATE_DEFFUNCNAME_DiffYears[2] =
36 "JAHRE",
37 "YEARS"
40 static const char* DATE_DEFFUNCNAME_IsLeapYear[2] =
42 "ISTSCHALTJAHR",
43 "ISLEAPYEAR"
46 static const char* DATE_DEFFUNCNAME_DaysInMonth[2] =
48 "TAGEIMMONAT",
49 "DAYSINMONTH"
52 static const char* DATE_DEFFUNCNAME_DaysInYear[2] =
54 "TAGEIMJAHR",
55 "DAYSINYEAR"
58 static const char* DATE_DEFFUNCNAME_WeeksInYear[2] =
60 "WOCHENIMJAHR",
61 "WEEKSINYEAR"
64 static const char* DATE_DEFFUNCNAME_Rot13[2] =
66 "ROT13",
67 "ROT13"
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */