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.gelm...@gelma.net> AuthorDate: Wed Dec 19 17:29:13 2018 +0000 Commit: Julien Nabet <serval2...@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 <serval2...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits