summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-05-31 19:56:24 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-06-02 11:31:22 +0200
commit845054aa25b7cba1daa1ff30b142d549027299bd (patch)
tree2c68c095f370b7c95c2ff4b6d4d1fc2c1ae649a5
parent30391deaf6e1726450378bbe5d320bfbbd213abf (diff)
WaE: fix more warnings I see with gcc-13.1.1
Change-Id: I8f1087cb98991363ec78a21a90a55724ba3628ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152466 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152528 Tested-by: Jenkins
-rw-r--r--sfx2/source/view/viewsh.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index a818a98380bb..e21afa252762 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -502,7 +502,7 @@ void LOKDocumentFocusListener::notifyEvent( const accessibility::AccessibleEvent
if (attribute.Name == "CharHeight" || attribute.Name == "CharWeight")
{
- float fValue;
+ float fValue(0.0);
attribute.Value >>= fValue;
sValue = OUString::number(fValue);
}
@@ -514,7 +514,7 @@ void LOKDocumentFocusListener::notifyEvent( const accessibility::AccessibleEvent
}
else if (attribute.Name == "CharUnderline")
{
- sal_Int16 nValue;
+ sal_Int16 nValue(0);
attribute.Value >>= nValue;
sValue = OUString::number(nValue);
}
@@ -524,7 +524,7 @@ void LOKDocumentFocusListener::notifyEvent( const accessibility::AccessibleEvent
}
else if (attribute.Name == "Rsid")
{
- sal_uInt32 nValue;
+ sal_uInt32 nValue(0);
attribute.Value >>= nValue;
sValue = OUString::number(nValue);
}