summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-22 13:11:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-23 07:54:51 +0100
commit9af8f190ed1bf3f76897ad0c078db16451d6fb69 (patch)
tree015089ee72a67eca7db999845cabb8104c8ce3aa /jvmfwk
parent9602e63c818722c3910343b7af53917d031861c8 (diff)
More loplugin:cstylecast on Windows
Automatic rewrite (of loplugin:cstylecast and loplugin:unnecessaryparen) after cab0427cadddb3aaf1349c66f2fa13a4234ba4b2 "Enable loplugin:cstylecast for some more cases" and a409d32e7f6fc09e041079d6dbc3c927497adfed "More loplugin:cstylecast" Change-Id: Ib3355159dd08333e1b7a8d091caf2069cdcc7862 Reviewed-on: https://gerrit.libreoffice.org/48317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
index ab51add16edb..671ce5634f82 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
@@ -531,7 +531,7 @@ static void do_msvcr_magic(OUString const &jvm_dll)
if (fread(dos_hdr, st.st_size, 1, f) != 1 ||
memcmp(dos_hdr, "MZ", 2) != 0 ||
dos_hdr->e_lfanew < 0 ||
- dos_hdr->e_lfanew > (LONG) (st.st_size - sizeof(IMAGE_NT_HEADERS)))
+ dos_hdr->e_lfanew > static_cast<LONG>(st.st_size - sizeof(IMAGE_NT_HEADERS)))
{
SAL_WARN("jfw", "analyzing <" << Module << "> failed");
free(dos_hdr);
@@ -570,7 +570,7 @@ static void do_msvcr_magic(OUString const &jvm_dll)
while (imports <= reinterpret_cast<IMAGE_IMPORT_DESCRIPTOR *>(reinterpret_cast<char *>(dos_hdr) + st.st_size - sizeof (IMAGE_IMPORT_DESCRIPTOR)) &&
imports->Name != 0 &&
- imports->Name + VAtoPhys < (DWORD) st.st_size)
+ imports->Name + VAtoPhys < static_cast<DWORD>(st.st_size))
{
static OUStringLiteral msvcrts[] =
{
ested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> 2020-06-06Colibre: ^Presenter View, Draw & Math MIME, break, ValidityRizal Muttaqin Change-Id: I82ae5150e8e2cfe236ec058e94404435f88335ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95625 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> 2020-06-03Fix for tdf#133582, missing checkbox in gen envRizal Muttaqin - - Add more SVG version of PNG icons Change-Id: I0217ec345215e710c7ee0b2bf3108c244e921f26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95387 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> 2020-06-02tdf#133268 (Sync w Sukapura, + & improve many icons)Rizal Muttaqin Change-Id: I00c5959993cbbb2bd18fd37b264eae5b709cc8d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95333 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> 2020-05-31Resolves tdf#133268: Update Colibre color paletteRizal Muttaqin - Change color to latest MS Office monoline style - Overhaul overall appearance Change-Id: If181b58dc68310cacb926cf814c6d99d4b0b47d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95189 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> 2020-05-15Breeze, Colibre, elementary, Sukapura: Add left sidebar motifRizal Muttaqin Change-Id: If48762e73586d2ac68095d45a7e9c0c1aa67544c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94258 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> 2020-04-15Related tdf#130778: New About dialogHeiko Tietze More flexible dialog logo & about images as SVGs Change-Id: Icefa035893e241a7dee6aa28236e6b89b38477de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91908 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> 2019-05-09tdf#116629 add chevron icon for notebookbar hide buttonandreas kainz Change-Id: Ie301b24043131f28d36d2a22a31d96220de791ae Reviewed-on: https://gerrit.libreoffice.org/72082 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com> 2019-04-29Icon Theme update open_more icon to have three dotsandreas kainz Change-Id: If48a34c4cb2d5b8712ab5ed408155e1902014733 Reviewed-on: https://gerrit.libreoffice.org/71527 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com> 2019-04-27Colibre icon theme updateandreas kainz Change-Id: I511c5fb9c1c79a111b5686d43168b157e6fa4b02 Reviewed-on: https://gerrit.libreoffice.org/71403 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com> 2018-03-29Colibre icons: finish sfx2 galaxy folderandreas kainz Change-Id: I88807f2119747f0dab0d40c91cb62583b203cbf5 Reviewed-on: https://gerrit.libreoffice.org/52130 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com> 2018-03-17Colibre icons: global icon fixesandreas kainz Change-Id: If167db7cbeb86133516c35636a39ddb1269d2c7d Reviewed-on: https://gerrit.libreoffice.org/51472 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com> 2018-03-09tdf#115867: Add colibre icon theme which follow MSO color schemeandreas kainz Change-Id: Id09932212f348952fe9fb141dec1b5b13d727a54 Reviewed-on: https://gerrit.libreoffice.org/50989 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>