------------------------------------------------------------------------ * Stop / Think * You need to choose either a pure MPLv2 header (from the top), or an MPLv2 on ALv2 header (from the bottom). If the new module you created is based in any way on an existing module, then: a) if that module has an MPLv2 on ALv2 header - please use this option or b) if the module is entirely your own work, and/or based on an existing MPLv2 header - please use that header. Otherwise, use the pure MPLv2 header for new code. For any questions please contact me directly: michael.meeks@collabora.com. Thanks ! ------------------------------------------------------------------------ For all entirely new, original source files created by LibreOffice hackers: ------------------------------------------------------------------------ For C/C++/Java/IDL etc. /* -*- 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/. */ ... /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ For makefiles: # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # 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/. # ... # vim: set noet sw=4 ts=4: For XML / .component: ------------------------------------------------------------------------ For source files which may contain code from the Apache Software Foundation: ------------------------------------------------------------------------ For C/C++/Java/IDL etc. /* -*- 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/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ ... /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ For makefiles, perl, scripts etc. # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # 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/. # # This file incorporates work covered by the following license notice: # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed # with this work for additional information regarding copyright # ownership. The ASF licenses this file to you under the Apache # License, Version 2.0 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.apache.org/licenses/LICENSE-2.0 . # ... # vim: set noet sw=4 ts=4: For XML / .component: ='distro/collabora/viewer2'>distro/collabora/viewer2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-21 15:04:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-22 12:43:56 +0200
commit78490b45c771a4c9632b324922f2c8e83f06153b (patch)
tree0e74de3a28bce5a7300f39aa36378d35eedc0afe /framework
parent5c147fc5fe0e77838b8e9bebd4ff215a80946980 (diff)
pvs-studio: V668 no sense testing against null as memory was allocated by new