summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-11-28 04:56:38 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-11-29 10:38:27 +0100
commit2056e3123f83a957290098a495d8759c9033eb26 (patch)
tree7b8dcc66173bd3cea640fc9b608b12a20c78bb25
parentbdb6e648d20ec4cb8bbc62308e2368531ea1e42b (diff)
typo: m_nRedId => m_nResId
Change-Id: I0659155b19870117e97f691aa4fdceee8f2d4c08
-rw-r--r--sw/source/core/unocore/unostyle.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 5236631f84e8..11e2451f1c12 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -97,12 +97,12 @@ namespace
SfxStyleFamily m_eFamily;
SwGetPoolIdFromName m_aPoolId;
OUString m_sName;
- sal_uInt32 m_nRedId;
- StyleFamilyEntry(SfxStyleFamily eFamily, SwGetPoolIdFromName aPoolId, OUString const & sName, sal_uInt32 nResId)
+ sal_uInt32 m_nResId;
+ StyleFamilyEntry(SfxStyleFamily eFamily, SwGetPoolIdFromName aPoolId, OUString const& sName, sal_uInt32 nResId)
: m_eFamily(eFamily)
, m_aPoolId(aPoolId)
, m_sName(sName)
- , m_nRedId(nResId)
+ , m_nResId(nResId)
{}
};
static const std::vector<StyleFamilyEntry> our_vStyleFamilyEntries {
@@ -762,7 +762,7 @@ uno::Any SAL_CALL XStyleFamily::getPropertyValue( const OUString& sPropertyName
const auto pEntry = std::find_if(our_vStyleFamilyEntries.begin(), our_vStyleFamilyEntries.end(),
[this] (const StyleFamilyEntry& e) { return m_eFamily == e.m_eFamily; });
assert(pEntry != our_vStyleFamilyEntries.end()); // invalid family
- return uno::makeAny(SW_RESSTR(pEntry->m_nRedId));
+ return uno::makeAny(SW_RESSTR(pEntry->m_nResId));
}