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
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index a818a98..e21afa2 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);
}