diff options
author | Onur Yilmaz <onuryilmaz0750@gmail.com> | 2020-01-27 11:46:12 +0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-01-28 16:53:27 +0100 |
commit | b44ad15cd78892f2f1d7fe83ccda9fc41dc9c9a5 (patch) | |
tree | b8e370ee7c51a46857807044203ea45d26a1bcf9 /reportdesign | |
parent | 77ce7835e7e46290d8d3204cfa2e6d1ad39a0ee4 (diff) |
tdf#96505: Get rid of cargo cult long integer literals
I checked return values.
Long variables didn't affect the calculation.
Change-Id: Ia3713eedf275de71b1096d1fe7e22da012a7f94e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87493
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/inspection/metadata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/inspection/metadata.cxx b/reportdesign/source/ui/inspection/metadata.cxx index fe968c7fddd6..f652fa4a4723 100644 --- a/reportdesign/source/ui/inspection/metadata.cxx +++ b/reportdesign/source/ui/inspection/metadata.cxx @@ -187,7 +187,7 @@ namespace rptui // initialization if(!s_pPropertyInfos) getPropertyInfo(); - OPropertyInfoImpl aSearch(_rName, 0L, OUString(), "", PropUIFlags::NONE); + OPropertyInfoImpl aSearch(_rName, 0, OUString(), "", PropUIFlags::NONE); const OPropertyInfoImpl* pPropInfo = ::std::lower_bound( s_pPropertyInfos, s_pPropertyInfos + s_nCount, aSearch, PropertyInfoLessByName() ); |