/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * 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/. */ struct S { void* p; }; int main() { S s{ 0 // expected-error {{NullToPointer ValueDependentIsNotNull ZeroLiteral -> nullptr [loplugin:nullptr]}} }; (void)s; } /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ orm method='get'> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/scripting/examples/python
AgeCommit message (Expand)Author
2021-01-01Fix typosAndrea Gelmini
2021-01-01tdf#128463: Revert the change to license informationKevin Suo
2020-12-31tdf#128463: Rewrite NamedRanges.py to make it work when run from UIKevin Suo
2020-12-31tdf#128463: Make SetCellColor python example actually do sthKevin Suo
2020-10-10Improve example python code in scripting.Kevin Suo
2019-06-05python: add sample python script to insert/replace textAshod Nakashian
2018-05-09Use the . separator between sheet name and cell range instead of ! to match UITor Lillqvist
2018-03-28Add mode lines and license blurbTor Lillqvist
2018-03-28Add DeleteNamedRange functionTor Lillqvist
2018-03-28Add another sample Python script, to handle named ranges in spreadsheetsTor Lillqvist
2018-03-27Add another sample Python scriptTor Lillqvist
2018-01-24scripting: add missing vim modelines to python filesMiklos Vajna