Kaydet (Commit) be513106 authored tarafından Michael Stahl's avatar Michael Stahl

sw: fix sw_unoapi UnvisitedCharStyleName regression

Some copypasta in 74593273

Change-Id: I2854ea5485153d32a7001f988524f02465d5c82f
üst a37043b8
......@@ -328,9 +328,9 @@ bool SwFmtINetFmt::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
break;
case MID_URL_UNVISITED_FMT:
{
OUString sVal = msVisitedFmtName;
if (sVal.isEmpty() && mnVisitedFmtId != 0)
SwStyleNameMapper::FillUIName(mnVisitedFmtId, sVal);
OUString sVal = msINetFmtName;
if (sVal.isEmpty() && mnINetFmtId != 0)
SwStyleNameMapper::FillUIName(mnINetFmtId, sVal);
if (!sVal.isEmpty())
SwStyleNameMapper::FillProgName(sVal, sVal,
nsSwGetPoolIdFromName::GET_POOLID_CHRFMT, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment