diff options
author | Nickson Thanda <nicksonthanda10@msn.com> | 2018-03-31 01:00:56 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-04-04 00:03:22 +0200 |
commit | 28012351ae273d41af548a29a14d9d842e66f6f6 (patch) | |
tree | a6f184aa0339e617d7ead3a7dd4430a63febb337 /sw/source/core/doc/DocumentStylePoolManager.cxx | |
parent | e2e3118465411448a3b1f5e56c3456384c009f99 (diff) |
tdf#58407 Inserted images are now called Figure by default in caption
Created a new field type called Figure
Change-Id: Ic7f3d3b878d03f4d6a98727db489e48158f946a1
Reviewed-on: https://gerrit.libreoffice.org/52178
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sw/source/core/doc/DocumentStylePoolManager.cxx')
-rw-r--r-- | sw/source/core/doc/DocumentStylePoolManager.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx index c94d940b3716..f5740dc12bee 100644 --- a/sw/source/core/doc/DocumentStylePoolManager.cxx +++ b/sw/source/core/doc/DocumentStylePoolManager.cxx @@ -369,6 +369,7 @@ static const char* STR_POOLCOLL_EXTRA_ARY[] STR_POOLCOLL_LABEL_ABB, STR_POOLCOLL_LABEL_TABLE, STR_POOLCOLL_LABEL_FRAME, + STR_POOLCOLL_LABEL_FIGURE, // Miscellaneous STR_POOLCOLL_FRAME, STR_POOLCOLL_FOOTNOTE, @@ -936,6 +937,7 @@ SwTextFormatColl* DocumentStylePoolManager::GetTextCollFromPool( sal_uInt16 nId, case RES_POOLCOLL_LABEL_TABLE: // caption table case RES_POOLCOLL_LABEL_FRAME: // caption frame case RES_POOLCOLL_LABEL_DRAWING: // caption drawing + case RES_POOLCOLL_LABEL_FIGURE: break; case RES_POOLCOLL_JAKETADRESS: // envelope address |