diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-12-19 17:29:13 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-12-20 08:48:32 +0100 |
commit | 17cb5ea8321419d451eea2444c69c6aefc1c6d76 (patch) | |
tree | a4943148832f8d5e252f9cba3972f9b78395e0e1 /svtools | |
parent | 2215c5020d5b308a32c58f0b6144845881fe3fcd (diff) |
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@yahoo.fr>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter/exportdialog.cxx | 6 | ||||
-rw-r--r-- | svtools/source/filter/exportdialog.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
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; |