diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-11-28 04:56:38 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-11-28 23:59:26 +0100 |
commit | f06ac82c59ac27cbf82d0925de431b7ddb9909e9 (patch) | |
tree | 270af9b2134ed08313bed993292b1b35e285bfaa | |
parent | clean up and reduce indent levels (diff) | |
download | core-f06ac82c59ac27cbf82d0925de431b7ddb9909e9.tar.gz core-f06ac82c59ac27cbf82d0925de431b7ddb9909e9.zip |
typo: m_nRedId => m_nResId
Change-Id: I0659155b19870117e97f691aa4fdceee8f2d4c08
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 5236631f84e8..f271fd072eb1 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -98,11 +98,11 @@ namespace SwGetPoolIdFromName m_aPoolId; OUString m_sName; sal_uInt32 m_nRedId; - StyleFamilyEntry(SfxStyleFamily eFamily, SwGetPoolIdFromName aPoolId, OUString const & sName, sal_uInt32 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)); } |