/* -*- 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/. */ #include "sal/config.h" #include "tools/color.hxx" int main() { constexpr Color col1; Color col2; col2 = sal_Int32( col1); // expected-error@-1 {{redundant double conversion [loplugin:doubleconvert]}} (void)col2; // expected-error@+1 {{redundant double conversion [loplugin:doubleconvert]}} Color col3 = sal_Int32(Color()); (void)col3; } /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ 80 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sd/source/filter/sdfilter.cxx
AgeCommit message (Expand)Author
2016-03-24loplugin:constantparam in sdNoel Grandin
2016-02-09Formatting changes across all modulesChris Sherlock
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-05-05loplugin:staticmethodsNoel Grandin
2014-10-01sd: std::auto_ptr -> std::unique_ptrStephan Bergmann
2014-06-25remove whitespacesMarkus Mohrhard
2014-04-24sd: sal_Bool->boolNoel Grandin
2014-02-23Remove unneccessary commentsAlexander Wilms
2013-09-08String to OUStringThomas Arnhold
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
2012-11-28re-base on ALv2 code. Includes:Michael Meeks
2012-10-07Handle lack of module loading/unloading API when DISABLE_DYNLOADINGTor Lillqvist