[Libreoffice-commits] core.git: sw/source
Michael Stahl
mstahl at redhat.com
Fri Jan 10 05:06:36 PST 2014
sw/source/core/txtnode/fmtatr2.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit be5131060c6d9d314802ee945e9b99947ad8dfc4
Author: Michael Stahl <mstahl at redhat.com>
Date: Fri Jan 10 13:58:21 2014 +0100
sw: fix sw_unoapi UnvisitedCharStyleName regression
Some copypasta in 74593273655e475017bb2bd45aba3c6b132e372d
Change-Id: I2854ea5485153d32a7001f988524f02465d5c82f
diff --git a/sw/source/core/txtnode/fmtatr2.cxx b/sw/source/core/txtnode/fmtatr2.cxx
index a6680ac..b94e99d 100644
--- a/sw/source/core/txtnode/fmtatr2.cxx
+++ b/sw/source/core/txtnode/fmtatr2.cxx
@@ -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);
More information about the Libreoffice-commits
mailing list