diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-01-09 19:38:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-01-09 20:21:59 +0100 |
commit | 6efffbbfce9c27439f54970f7a569b069ce46eba (patch) | |
tree | cecff16ae5325875c3e6471170040c38859bff56 /svtools | |
parent | 2ab481b038b62b1ff576ac4d49d03c1798cd7f84 (diff) |
Improve loplugin:redundantcast for sal_Int... vs. ::sal_Int...
Change-Id: I1548a76fdc03afee68f1e5c01bc665e616f2edf2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86501
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter/exportdialog.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx index 9a04956698f9..fda3e68d731b 100644 --- a/svtools/source/filter/exportdialog.cxx +++ b/svtools/source/filter/exportdialog.cxx @@ -192,8 +192,8 @@ uno::Sequence< beans::PropertyValue > ExportDialog::GetFilterData( bool bUpdateC const OUString sLogicalHeight("LogicalHeight"); if ( mbIsPixelFormat ) { - pFilterOptions->WriteInt32("PixelWidth", static_cast< sal_Int32 >( maSize.Width ) ); - pFilterOptions->WriteInt32("PixelHeight", static_cast< sal_Int32 >( maSize.Height ) ); + pFilterOptions->WriteInt32("PixelWidth", maSize.Width ); + pFilterOptions->WriteInt32("PixelHeight", maSize.Height ); if ( maResolution.Width && maResolution.Height ) { const double f100thmmPerPixelX = 100000.0 / maResolution.Width; @@ -209,8 +209,8 @@ uno::Sequence< beans::PropertyValue > ExportDialog::GetFilterData( bool bUpdateC } else { - pFilterOptions->WriteInt32( sLogicalWidth, static_cast< sal_Int32 >( maSize.Width ) ); - pFilterOptions->WriteInt32( sLogicalHeight, static_cast< sal_Int32 >( maSize.Height ) ); + pFilterOptions->WriteInt32( sLogicalWidth, maSize.Width ); + pFilterOptions->WriteInt32( sLogicalHeight, maSize.Height ); } switch ( mnFormat ) { |