[Libreoffice-commits] core.git: svtools/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Dec 20 07:48:58 UTC 2018
svtools/source/filter/exportdialog.cxx | 6 +++---
svtools/source/filter/exportdialog.hxx | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 17cb5ea8321419d451eea2444c69c6aefc1c6d76
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Dec 19 17:29:13 2018 +0000
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Dec 20 08:48:32 2018 +0100
Fix typo in code
It passed "make check" on Linux
Change-Id: I8d05cf7480d83d71c015bd21d3d78fca56f779e7
Reviewed-on: https://gerrit.libreoffice.org/65466
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx
index 7c7a2ebe6c1b..5c3a4480be06 100644
--- a/svtools/source/filter/exportdialog.cxx
+++ b/svtools/source/filter/exportdialog.cxx
@@ -539,7 +539,7 @@ sal_uInt32 ExportDialog::GetRawFileSize() const
{
sal_Int32 nBitsPerPixel = 24;
OUString aEntry(mxLbColorDepth->get_active_text());
- if ( ms1BitTreshold == aEntry )
+ if ( ms1BitThreshold == aEntry )
nBitsPerPixel = 1;
else if ( ms1BitDithered == aEntry )
nBitsPerPixel = 1;
@@ -586,7 +586,7 @@ ExportDialog::ExportDialog(FltCallDialogParameter& rPara,
, msEstimatedSizePix1(SvtResId(STR_SVT_ESTIMATED_SIZE_PIX_1))
, msEstimatedSizePix2(SvtResId(STR_SVT_ESTIMATED_SIZE_PIX_2))
, msEstimatedSizeVec(SvtResId(STR_SVT_ESTIMATED_SIZE_VEC))
- , ms1BitTreshold(SvtResId(STR_SVT_1BIT_THRESHOLD))
+ , ms1BitThreshold(SvtResId(STR_SVT_1BIT_THRESHOLD))
, ms1BitDithered(SvtResId(STR_SVT_1BIT_DITHERED))
, ms4BitGrayscale(SvtResId(STR_SVT_4BIT_GRAYSCALE))
, ms4BitColorPalette(SvtResId(STR_SVT_4BIT_COLOR_PALETTE))
@@ -825,7 +825,7 @@ void ExportDialog::createFilterOptions()
nColor = 6;
else
nColor--;
- mxLbColorDepth->append_text( ms1BitTreshold );
+ mxLbColorDepth->append_text( ms1BitThreshold );
mxLbColorDepth->append_text( ms1BitDithered );
mxLbColorDepth->append_text( ms4BitGrayscale );
mxLbColorDepth->append_text( ms4BitColorPalette );
diff --git a/svtools/source/filter/exportdialog.hxx b/svtools/source/filter/exportdialog.hxx
index c42ad377b7d2..dd8c9c4add3e 100644
--- a/svtools/source/filter/exportdialog.hxx
+++ b/svtools/source/filter/exportdialog.hxx
@@ -54,7 +54,7 @@ private:
OUString const msEstimatedSizePix2;
OUString const msEstimatedSizeVec;
- OUString const ms1BitTreshold;
+ OUString const ms1BitThreshold;
OUString const ms1BitDithered;
OUString const ms4BitGrayscale;
OUString const ms4BitColorPalette;
More information about the Libreoffice-commits
mailing list