summaryrefslogtreecommitdiff
path: root/test/source/text
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-12-03 13:17:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-12-03 19:42:51 +0100
commit815fad1e55ebd3f1e98a2e062af2d59caed2ac3e (patch)
treef755c5f9bfa12705253eefc4db69fad699cbb1be /test/source/text
parent0cf64cf29c43ae60c91dab53b99045986cd79038 (diff)
Silence false -Werror=maybe-uninitialized
...where success of >>= has already been checked with CPPUNIT_ASSERT Change-Id: I9aa553749988b6b2e26d9a5ac5b376cc5997aba7 Reviewed-on: https://gerrit.libreoffice.org/84335 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'test/source/text')
-rw-r--r--test/source/text/textsettings.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/text/textsettings.cxx b/test/source/text/textsettings.cxx
index 6e64264f0e0f..88e78d98a5a8 100644
--- a/test/source/text/textsettings.cxx
+++ b/test/source/text/textsettings.cxx
@@ -72,7 +72,7 @@ void testPrinterIndependentLayout(css::uno::Reference<css::beans::XPropertySet>
if (!extstsProperty(rxSettings, rPropertyName))
return; // Property is optional
- sal_Int16 aValue_Get;
+ sal_Int16 aValue_Get = {};
CPPUNIT_ASSERT_MESSAGE("Unable to get PropertyValue",
rxSettings->getPropertyValue(rPropertyName) >>= aValue_Get);