diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-08-31 22:06:40 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-08-31 22:07:05 +0200 |
commit | 44922e5a8ef47d054734276366d7f977fdc0ef3a (patch) | |
tree | 9d52ff4db3c78cac64703346d9aa0c392680a318 | |
parent | 91859ae19ca1a9793b8553e120683393f584dfb1 (diff) |
cppcheck: fix redundant assignment
Change-Id: If9768751a50f302b8ad036f345ddcbcc29366b7c
-rw-r--r-- | xmloff/source/style/shdwdhdl.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmloff/source/style/shdwdhdl.cxx b/xmloff/source/style/shdwdhdl.cxx index 4fb594dbbd9c..ddb2457fdfb0 100644 --- a/xmloff/source/style/shdwdhdl.cxx +++ b/xmloff/source/style/shdwdhdl.cxx @@ -38,13 +38,10 @@ XMLShadowedPropHdl::~XMLShadowedPropHdl() sal_Bool XMLShadowedPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConverter& ) const { - sal_Bool bRet = sal_False; - sal_Bool bValue = ! IsXMLToken( rStrImpValue, XML_NONE ); rValue <<= sal_Bool(bValue); - bRet = sal_True; - return bRet; + return sal_True; } sal_Bool XMLShadowedPropHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitConverter& ) const |