summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par5.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-12 09:59:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-12 10:11:19 +0200
commited3a4fcc878e8f3ce720520d60448bc962da0754 (patch)
tree107d2e30caf6b88fb80fb6589bed1e50ae282771 /sw/source/filter/ww8/ww8par5.cxx
parent5549160d97392d649bc3f7a490c161e77c1fd94a (diff)
convert GET_POOLID constants to scoped enum
Change-Id: Ifc54789d12d0b024ed28f13ec78b5c10afa902de
Diffstat (limited to 'sw/source/filter/ww8/ww8par5.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par5.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index 503f83ef11b4..486845083f0f 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -2154,7 +2154,7 @@ eF_ResT SwWW8ImplReader::Read_F_PgRef( WW8FieldDesc*, OUString& rStr )
SwFormatINetFormat aURL( sURL, sTarget );
const OUString sLinkStyle("Index Link");
const sal_uInt16 nPoolId =
- SwStyleNameMapper::GetPoolIdFromUIName( sLinkStyle, nsSwGetPoolIdFromName::GET_POOLID_CHRFMT );
+ SwStyleNameMapper::GetPoolIdFromUIName( sLinkStyle, SwGetPoolIdFromName::ChrFmt );
aURL.SetVisitedFormatAndId( sLinkStyle, nPoolId);
aURL.SetINetFormatAndId( sLinkStyle, nPoolId );
m_pCtrlStck->NewAttr( *m_pPaM->GetPoint(), aURL );
@@ -3507,7 +3507,7 @@ eF_ResT SwWW8ImplReader::Read_F_Hyperlink( WW8FieldDesc* /*pF*/, OUString& rStr
{
OUString sLinkStyle("Index Link");
sal_uInt16 nPoolId =
- SwStyleNameMapper::GetPoolIdFromUIName( sLinkStyle, nsSwGetPoolIdFromName::GET_POOLID_CHRFMT );
+ SwStyleNameMapper::GetPoolIdFromUIName( sLinkStyle, SwGetPoolIdFromName::ChrFmt );
aURL.SetVisitedFormatAndId( sLinkStyle, nPoolId );
aURL.SetINetFormatAndId( sLinkStyle, nPoolId );
}