diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-12 09:59:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-12 10:11:19 +0200 |
commit | ed3a4fcc878e8f3ce720520d60448bc962da0754 (patch) | |
tree | 107d2e30caf6b88fb80fb6589bed1e50ae282771 /sw/source/uibase/uiview/viewdlg2.cxx | |
parent | 5549160d97392d649bc3f7a490c161e77c1fd94a (diff) |
convert GET_POOLID constants to scoped enum
Change-Id: Ifc54789d12d0b024ed28f13ec78b5c10afa902de
Diffstat (limited to 'sw/source/uibase/uiview/viewdlg2.cxx')
-rw-r--r-- | sw/source/uibase/uiview/viewdlg2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewdlg2.cxx b/sw/source/uibase/uiview/viewdlg2.cxx index 545303262c4f..82adfbe5082a 100644 --- a/sw/source/uibase/uiview/viewdlg2.cxx +++ b/sw/source/uibase/uiview/viewdlg2.cxx @@ -102,7 +102,7 @@ void SwView::InsertCaption(const InsCaptionOpt *pOpt) SwWrtShell &rSh = GetWrtShell(); if(!rName.isEmpty()) { - sal_uInt16 nPoolId = SwStyleNameMapper::GetPoolIdFromUIName(rName, nsSwGetPoolIdFromName::GET_POOLID_TXTCOLL); + sal_uInt16 nPoolId = SwStyleNameMapper::GetPoolIdFromUIName(rName, SwGetPoolIdFromName::TxtColl); if( USHRT_MAX != nPoolId ) rSh.GetTextCollFromPool(nPoolId); // Pool template does not exist: Does it exist on the document? |