diff options
author | Nickson <nicksonthanda10@msn.com> | 2018-09-20 02:19:24 +0100 |
---|---|---|
committer | Heiko Tietze <tietze.heiko@gmail.com> | 2018-11-08 10:28:34 +0100 |
commit | c399d0715f6d3fe16896af8d1f85e66855e17402 (patch) | |
tree | 6376fe445cf8ac9bece1bd27fff511158fd8bc67 /sw/source/uibase/uiview | |
parent | b3c77dd04deb9b4336e2a1bd88afdfb170b585a0 (diff) |
tdf#119738 - Set default image caption to illustration if already being used
Change-Id: I8371bd4184734857a6c5578dc5c235760f83cc36
Reviewed-on: https://gerrit.libreoffice.org/60787
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'sw/source/uibase/uiview')
-rw-r--r-- | sw/source/uibase/uiview/view2.cxx | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx index 15964603fedd..6e2801310134 100644 --- a/sw/source/uibase/uiview/view2.cxx +++ b/sw/source/uibase/uiview/view2.cxx @@ -2463,4 +2463,45 @@ void SwView::ExecuteScan( SfxRequest& rReq ) m_pViewImpl->ExecuteScan(rReq) ; } +const OUString& SwView::GetOldGrfCat() +{ + return GetCachedString(OldGrfCat); +} + +void SwView::SetOldGrfCat(const OUString& sStr) +{ + SetCachedString(OldGrfCat, sStr); +} + +const OUString& SwView::GetOldTabCat() +{ + return GetCachedString(OldTabCat); +} + +void SwView::SetOldTabCat(const OUString& sStr) +{ + SetCachedString(OldTabCat, sStr); +} + +const OUString& SwView::GetOldFrameCat() +{ + return GetCachedString(OldFrameCat); +} + +void SwView::SetOldFrameCat(const OUString& sStr) +{ + SetCachedString(OldFrameCat, sStr); +} + +const OUString& SwView::GetOldDrwCat() +{ + return GetCachedString(OldDrwCat); +} + +void SwView::SetOldDrwCat(const OUString& sStr) +{ + SwView::SetCachedString(OldDrwCat, sStr); +} + + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |