[Libreoffice-commits] core.git: sd/qa sw/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Oct 6 08:38:17 UTC 2018
sd/qa/unit/export-tests-ooxml2.cxx | 2 +-
sw/qa/core/macros-test.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2b3bd14c566e97044b50bb81d8d61bc6bb0fd37b
Author: Jan-Marek Glogowski <glogow at fbihome.de>
AuthorDate: Fri Oct 5 23:00:44 2018 +0000
Commit: Jan-Marek Glogowski <glogow at fbihome.de>
CommitDate: Sat Oct 6 10:37:57 2018 +0200
Quieten compiler warning
Change-Id: I96d66d09a911d393e7f618e539b9eab5c3d740f9
Reviewed-on: https://gerrit.libreoffice.org/61450
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow at fbihome.de>
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()) );
}
More information about the Libreoffice-commits
mailing list