diff options
author | Shivam Kumar Singh <shivamhere247@gmail.com> | 2020-01-15 14:44:44 +0530 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-02-04 18:27:25 +0100 |
commit | 03685b1ab86a9b8d78ad2a4fd460c2aaa50f03ab (patch) | |
tree | 88ca2b76e2056517b181a57e735f3e2f4a4ad316 /include/editeng | |
parent | a68157c88add7a815678155f4d7a743b010d92f5 (diff) |
tdf#96505 Get rid of cargo cult "long" integer literals .
In some places the integers end with L which denotes that the number is in long long format.
This representation was not required .
Change-Id: Ia8ae328ee943780ccbfb7ce15013f3ac0365a3db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86842
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/svxfont.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/svxfont.hxx b/include/editeng/svxfont.hxx index cf8862da0a9d..b584bb842b4d 100644 --- a/include/editeng/svxfont.hxx +++ b/include/editeng/svxfont.hxx @@ -53,7 +53,7 @@ public: sal_uInt8 GetPropr() const { return nPropr; } void SetPropr( const sal_uInt8 nNewPropr ) { nPropr = nNewPropr; } void SetProprRel( const sal_uInt8 nNewPropr ) - { SetPropr( static_cast<sal_uInt8>( static_cast<long>(nNewPropr) * static_cast<long>(nPropr) / 100L ) ); } + { SetPropr( static_cast<sal_uInt8>( static_cast<long>(nNewPropr) * static_cast<long>(nPropr) / 100 ) ); } // Kerning short GetFixKerning() const { return nKern; } |