diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-10-05 23:00:44 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-10-06 10:37:57 +0200 |
commit | 2b3bd14c566e97044b50bb81d8d61bc6bb0fd37b (patch) | |
tree | 4772f914e1395deab06443aded26d060d9ff56e7 | |
parent | 7d8a756164dda3b5b08eef68a2925fa4704c33ab (diff) |
Quieten compiler warning
Change-Id: I96d66d09a911d393e7f618e539b9eab5c3d740f9
Reviewed-on: https://gerrit.libreoffice.org/61450
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
-rw-r--r-- | sd/qa/unit/export-tests-ooxml2.cxx | 2 | ||||
-rw-r--r-- | sw/qa/core/macros-test.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/export-tests-ooxml2.cxx b/sd/qa/unit/export-tests-ooxml2.cxx index 046c9f0734a2..116663fd2d57 100644 --- a/sd/qa/unit/export-tests-ooxml2.cxx +++ b/sd/qa/unit/export-tests-ooxml2.cxx @@ -1889,7 +1889,7 @@ static inline double getAdjustmentValue( uno::Reference<beans::XPropertySet>& xS if (aIterator != aGeomPropVec.end()) { uno::Sequence<drawing::EnhancedCustomShapeAdjustmentValue> aAdjustment; - double fResult; + double fResult = 0.0; aIterator->Value >>= aAdjustment; aAdjustment[0].Value >>= fResult; return fResult; diff --git a/sw/qa/core/macros-test.cxx b/sw/qa/core/macros-test.cxx index 2f9f8beff3c8..ac00e300fc59 100644 --- a/sw/qa/core/macros-test.cxx +++ b/sw/qa/core/macros-test.cxx @@ -594,7 +594,7 @@ void SwMacrosTest::setUp() // which is a private symbol to us, gets called m_xWriterComponent = getMultiServiceFactory()->createInstance("com.sun.star.comp.Writer.TextDocument"); - CPPUNIT_ASSERT_MESSAGE("no calc component!", m_xWriterComponent.is()); + CPPUNIT_ASSERT_MESSAGE("no writer component!", m_xWriterComponent.is()); mxDesktop = css::frame::Desktop::create( comphelper::getComponentContext(getMultiServiceFactory()) ); } |