summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-22 09:33:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-23 06:59:31 +0100
commit7a1c21e53fc4733a4bb52282ce0098fcc085ab0e (patch)
treec1b90f74e1ce9e9f3a852f398890899459189cab /xmloff
parentc24c32bf71b8e64bd0d36e511f554e1f6c015842 (diff)
loplugin:simplifybool for negation of comparison operator
Change-Id: Ie56daf560185274754afbc7a09c432b5c2793791 Reviewed-on: https://gerrit.libreoffice.org/45068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlnumfi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index 895db57dfecf..dbb4f30e0acf 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -1641,7 +1641,7 @@ sal_Int32 SvXMLNumFormatContext::CreateAndInsert( css::uno::Reference< css::util
void SvXMLNumFormatContext::CreateAndInsert(bool /*bOverwrite*/)
{
- if (!(nKey > -1))
+ if (nKey <= -1)
CreateAndInsert(pData->GetNumberFormatter());
}
25 +0200'>2015-05-08loplugin:staticmethodsStephan Bergmann 2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann 2014-12-04vcl (Mac): loplugin:cstylecastStephan Bergmann 2014-10-16MAC_OS_X_VERSION_MAX_ALLOWED is always >= 1080 nowTor Lillqvist 2014-07-02fix 'NSCursor' may not respond to operationNotAllowedCursor,dragCopyCursorDouglas Mencken 2014-05-17Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part15Julien Nabet 2014-04-02Kill superfluous vertical whitespaceTor Lillqvist 2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann 2014-02-05fdo#54938 Convert comphelper and vcl to cppu::supportsServiceAlexandre Vicenzi 2014-01-24Related: #i123895# adjust VCL support for 64bit OSX portHerbert Dürr 2013-12-06Re-organize OS X and iOS code in vcl a bitTor Lillqvist