diff options
-rw-r--r-- | writerfilter/source/rtftok/rtfreferenceproperties.cxx | 3 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfvalue.cxx | 32 |
2 files changed, 1 insertions, 34 deletions
diff --git a/writerfilter/source/rtftok/rtfreferenceproperties.cxx b/writerfilter/source/rtftok/rtfreferenceproperties.cxx index 7e334845c174..7f43c5e376d0 100644 --- a/writerfilter/source/rtftok/rtfreferenceproperties.cxx +++ b/writerfilter/source/rtftok/rtfreferenceproperties.cxx @@ -21,8 +21,7 @@ RTFReferenceProperties::RTFReferenceProperties(RTFSprms aAttributes, RTFSprms aS } RTFReferenceProperties::RTFReferenceProperties(RTFSprms aAttributes) - : m_aAttributes(aAttributes), - m_aSprms() + : m_aAttributes(aAttributes) { } diff --git a/writerfilter/source/rtftok/rtfvalue.cxx b/writerfilter/source/rtftok/rtfvalue.cxx index dbfe14cfceaa..0e540cb26f8b 100644 --- a/writerfilter/source/rtftok/rtfvalue.cxx +++ b/writerfilter/source/rtftok/rtfvalue.cxx @@ -39,12 +39,8 @@ RTFValue::RTFValue(int nValue, const OUString& sValue, RTFValue::RTFValue() : m_nValue(0), - m_sValue(), m_pAttributes(std::make_shared<RTFSprms>()), m_pSprms(std::make_shared<RTFSprms>()), - m_xShape(), - m_xStream(), - m_xObject(), m_bForceString(false), m_pShape(std::make_shared<RTFShape>()) { @@ -52,12 +48,8 @@ RTFValue::RTFValue() RTFValue::RTFValue(int nValue) : m_nValue(nValue), - m_sValue(), m_pAttributes(std::make_shared<RTFSprms>()), m_pSprms(std::make_shared<RTFSprms>()), - m_xShape(), - m_xStream(), - m_xObject(), m_bForceString(false) { m_pShape.reset(new RTFShape()); @@ -68,9 +60,6 @@ RTFValue::RTFValue(const OUString& sValue, bool bForce) m_sValue(sValue), m_pAttributes(std::make_shared<RTFSprms>()), m_pSprms(std::make_shared<RTFSprms>()), - m_xShape(), - m_xStream(), - m_xObject(), m_bForceString(bForce), m_pShape(std::make_shared<RTFShape>()) { @@ -78,12 +67,8 @@ RTFValue::RTFValue(const OUString& sValue, bool bForce) RTFValue::RTFValue(RTFSprms rAttributes) : m_nValue(), - m_sValue(), m_pAttributes(std::make_shared<RTFSprms>(rAttributes)), m_pSprms(std::make_shared<RTFSprms>()), - m_xShape(), - m_xStream(), - m_xObject(), m_bForceString(false), m_pShape(std::make_shared<RTFShape>()) { @@ -91,12 +76,8 @@ RTFValue::RTFValue(RTFSprms rAttributes) RTFValue::RTFValue(RTFSprms rAttributes, RTFSprms rSprms) : m_nValue(), - m_sValue(), m_pAttributes(std::make_shared<RTFSprms>(rAttributes)), m_pSprms(std::make_shared<RTFSprms>(rSprms)), - m_xShape(), - m_xStream(), - m_xObject(), m_bForceString(false), m_pShape(std::make_shared<RTFShape>()) { @@ -104,12 +85,9 @@ RTFValue::RTFValue(RTFSprms rAttributes, RTFSprms rSprms) RTFValue::RTFValue(uno::Reference<drawing::XShape> const& xShape) : m_nValue(), - m_sValue(), m_pAttributes(std::make_shared<RTFSprms>()), m_pSprms(std::make_shared<RTFSprms>()), m_xShape(xShape), - m_xStream(), - m_xObject(), m_bForceString(false), m_pShape(std::make_shared<RTFShape>()) { @@ -117,12 +95,9 @@ RTFValue::RTFValue(uno::Reference<drawing::XShape> const& xShape) RTFValue::RTFValue(uno::Reference<io::XInputStream> const& xStream) : m_nValue(), - m_sValue(), m_pAttributes(std::make_shared<RTFSprms>()), m_pSprms(std::make_shared<RTFSprms>()), - m_xShape(), m_xStream(xStream), - m_xObject(), m_bForceString(false), m_pShape(std::make_shared<RTFShape>()) { @@ -130,11 +105,8 @@ RTFValue::RTFValue(uno::Reference<io::XInputStream> const& xStream) RTFValue::RTFValue(uno::Reference<embed::XEmbeddedObject> const& xObject) : m_nValue(), - m_sValue(), m_pAttributes(std::make_shared<RTFSprms>()), m_pSprms(std::make_shared<RTFSprms>()), - m_xShape(), - m_xStream(), m_xObject(xObject), m_bForceString(false), m_pShape(std::make_shared<RTFShape>()) @@ -143,12 +115,8 @@ RTFValue::RTFValue(uno::Reference<embed::XEmbeddedObject> const& xObject) RTFValue::RTFValue(const RTFShape& aShape) : m_nValue(), - m_sValue(), m_pAttributes(std::make_shared<RTFSprms>()), m_pSprms(std::make_shared<RTFSprms>()), - m_xShape(), - m_xStream(), - m_xObject(), m_bForceString(false), m_pShape(std::make_shared<RTFShape>(aShape)) { |