diff options
Diffstat (limited to 'core/fxcrt/css/cfx_csscomputedstyle.cpp')
-rw-r--r-- | core/fxcrt/css/cfx_csscomputedstyle.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fxcrt/css/cfx_csscomputedstyle.cpp b/core/fxcrt/css/cfx_csscomputedstyle.cpp index eff708122b..11ae901185 100644 --- a/core/fxcrt/css/cfx_csscomputedstyle.cpp +++ b/core/fxcrt/css/cfx_csscomputedstyle.cpp @@ -9,16 +9,16 @@ #include "core/fxcrt/css/cfx_cssstringvalue.h" #include "core/fxcrt/css/cfx_cssvaluelist.h" -CFX_CSSComputedStyle::CFX_CSSComputedStyle() {} +CFX_CSSComputedStyle::CFX_CSSComputedStyle() = default; -CFX_CSSComputedStyle::~CFX_CSSComputedStyle() {} +CFX_CSSComputedStyle::~CFX_CSSComputedStyle() = default; bool CFX_CSSComputedStyle::GetCustomStyle(const WideString& wsName, - WideString& wsValue) const { + WideString* pValue) const { for (auto iter = m_CustomProperties.rbegin(); - iter != m_CustomProperties.rend(); iter++) { + iter != m_CustomProperties.rend(); ++iter) { if (wsName == iter->name()) { - wsValue = iter->value(); + *pValue = iter->value(); return true; } } |