/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include #include #include "commonfuzzer.hxx" #include #include #include extern "C" { void * com_sun_star_i18n_LocaleDataImpl_get_implementation( void *, void * ); void * com_sun_star_i18n_BreakIterator_Unicode_get_implementation( void *, void * ); void * com_sun_star_i18n_BreakIterator_get_implementation( void *, void * ); void * com_sun_star_i18n_NativeNumberSupplier_get_implementation( void *, void * ); void * com_sun_star_i18n_NumberFormatCodeMapper_get_implementation( void *, void * ); } const lib_to_factory_mapping * lo_get_factory_map(void) { static lib_to_factory_mapping map[] = { { 0, 0 } }; return map; } const lib_to_constructor_mapping * lo_get_constructor_map(void) { static lib_to_constructor_mapping map[] = { { "com_sun_star_i18n_LocaleDataImpl_get_implementation", com_sun_star_i18n_LocaleDataImpl_get_implementation }, { "com_sun_star_i18n_BreakIterator_Unicode_get_implementation", com_sun_star_i18n_BreakIterator_Unicode_get_implementation }, { "com_sun_star_i18n_BreakIterator_get_implementation", com_sun_star_i18n_BreakIterator_get_implementation }, { "com_sun_star_i18n_NativeNumberSupplier_get_implementation", com_sun_star_i18n_NativeNumberSupplier_get_implementation }, { "com_sun_star_i18n_NumberFormatCodeMapper_get_implementation", com_sun_star_i18n_NumberFormatCodeMapper_get_implementation }, { 0, 0 } }; return map; } extern "C" void* lo_get_custom_widget_func(const char*) { return nullptr; } extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) { TypicalFuzzerInitialize(argc, argv); return 0; } extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { SvMemoryStream aStream(const_cast(data), size, StreamMode::READ); Graphic aGraphic; (void)ImportDxfGraphic(aStream, aGraphic); return 0; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ tion value='distro/collabora/co-2021'>distro/collabora/co-2021 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-14make hardcoded string localizableAndras Timar
Change-Id: Ie0bc8e8bd5e0770b85130496359e64358e34c836 Reviewed-on: https://gerrit.libreoffice.org/15727 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-20onedrive: Improve fallback dialog and instructionsAdolfo Jayme Barrientos
Reviewed on: https://gerrit.libreoffice.org/13500 Change-Id: I95df1d1b5589f89bfaa48c0833d92e3225b497a6
2014-12-15Authentication fallback dialog for the OneDrive connectionMihai Varga
It asks the user to access an URL in his browser and provide a code from the URL he has been redirected to
2014-12-11Remove resizable:False property from dialogs containing GtkEntry.Jan Holesovsky
As agreed with Adolfo (and others) at the Design hangout on 2014-12-10. Change-Id: Ibe0e8075566523e746866b9d2c15c348c345d2df
2014-12-05uui: HIG fixesAdolfo Jayme Barrientos
Change-Id: I92045fe661e4d1d667c860dfd47559d2303ca531 Reviewed-on: https://gerrit.libreoffice.org/13301 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-28border_width from 12 to 6, as the rest of dialogsAdolfo Jayme Barrientos
Second pass. Change-Id: Ic4702d2ca7a9d54ee4712dcd073006f16b2d5d1d Reviewed-on: https://gerrit.libreoffice.org/11669 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-09semibold->boldCaolán McNamara
Change-Id: I563f4530f2003ea3090cd15696ea53143f7b3aa6
2014-08-20DLG_FILTER_SELECT and DLG_SIMPLE_NAME_CLASH conversion to .uiSzymon Kłos
Change-Id: I2a87330d73e2735a764296185f165a29f05b517c Reviewed-on: https://gerrit.libreoffice.org/11040 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-06-18use warning dialog hig settingsCaolán McNamara
Change-Id: Icde685cc56793e7261515ff1afaf69901d91e2d5
2014-06-18Convert RID_XMLSECDLG_MACROWARN to .uiPalenik Mihály
Change-Id: Icc364804bfe2e6ee05f73c7c0152acbcf7f6fefd Reviewed-on: https://gerrit.libreoffice.org/9798 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-06convert password dialog to .uiCaolán McNamara
Change-Id: I29e58d3992f43c5ee469484d0587843b06663bf1