diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-27 12:26:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-27 15:32:18 +0100 |
commit | 6d41b03311355f1f7517359879eb980071d52463 (patch) | |
tree | 705ff7d642aaae13c410a287dbf40b56ea4623bf | |
parent | 1ba34254aca7beee66a9fe741d77b45f362ef116 (diff) |
tdf#114023 typo of FMT_REF_ARY instead of FMT_REG_ARY
Change-Id: Id3e0588ee0f5dc0aa93270f58de1d1fd4bc9c912
Reviewed-on: https://gerrit.libreoffice.org/45327
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/uibase/fldui/fldmgr.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx index e9f9b55e25e5..e74c9ec12efc 100644 --- a/sw/source/uibase/fldui/fldmgr.cxx +++ b/sw/source/uibase/fldui/fldmgr.cxx @@ -246,6 +246,13 @@ static const char* FMT_REF_ARY[] = FMT_REF_NUMBER_FULL_CONTEXT }; +static const char* FMT_REG_ARY[] = +{ + FMT_REG_AUTHOR, + FMT_REG_TIME, + FMT_REG_DATE +}; + static const char* FMT_DBFLD_ARY[] = { FMT_DBFLD_DB, @@ -327,7 +334,7 @@ static const SwFieldPack aSwFields[] = { TYP_GETREFFLD, nullptr, 0, FMT_REF_ARY, SAL_N_ELEMENTS(FMT_REF_ARY) }, // DocInformation - { TYP_DOCINFOFLD, nullptr, 0, FMT_REF_ARY, SAL_N_ELEMENTS(FMT_REF_ARY) }, + { TYP_DOCINFOFLD, nullptr, 0, FMT_REG_ARY, SAL_N_ELEMENTS(FMT_REG_ARY) }, // Database { TYP_DBFLD, nullptr, 0, FMT_DBFLD_ARY, SAL_N_ELEMENTS(FMT_DBFLD_ARY) }, |