Kaydet (Commit) 17cb5ea8 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

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: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 2215c502
...@@ -539,7 +539,7 @@ sal_uInt32 ExportDialog::GetRawFileSize() const ...@@ -539,7 +539,7 @@ sal_uInt32 ExportDialog::GetRawFileSize() const
{ {
sal_Int32 nBitsPerPixel = 24; sal_Int32 nBitsPerPixel = 24;
OUString aEntry(mxLbColorDepth->get_active_text()); OUString aEntry(mxLbColorDepth->get_active_text());
if ( ms1BitTreshold == aEntry ) if ( ms1BitThreshold == aEntry )
nBitsPerPixel = 1; nBitsPerPixel = 1;
else if ( ms1BitDithered == aEntry ) else if ( ms1BitDithered == aEntry )
nBitsPerPixel = 1; nBitsPerPixel = 1;
...@@ -586,7 +586,7 @@ ExportDialog::ExportDialog(FltCallDialogParameter& rPara, ...@@ -586,7 +586,7 @@ ExportDialog::ExportDialog(FltCallDialogParameter& rPara,
, msEstimatedSizePix1(SvtResId(STR_SVT_ESTIMATED_SIZE_PIX_1)) , msEstimatedSizePix1(SvtResId(STR_SVT_ESTIMATED_SIZE_PIX_1))
, msEstimatedSizePix2(SvtResId(STR_SVT_ESTIMATED_SIZE_PIX_2)) , msEstimatedSizePix2(SvtResId(STR_SVT_ESTIMATED_SIZE_PIX_2))
, msEstimatedSizeVec(SvtResId(STR_SVT_ESTIMATED_SIZE_VEC)) , 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)) , ms1BitDithered(SvtResId(STR_SVT_1BIT_DITHERED))
, ms4BitGrayscale(SvtResId(STR_SVT_4BIT_GRAYSCALE)) , ms4BitGrayscale(SvtResId(STR_SVT_4BIT_GRAYSCALE))
, ms4BitColorPalette(SvtResId(STR_SVT_4BIT_COLOR_PALETTE)) , ms4BitColorPalette(SvtResId(STR_SVT_4BIT_COLOR_PALETTE))
...@@ -825,7 +825,7 @@ void ExportDialog::createFilterOptions() ...@@ -825,7 +825,7 @@ void ExportDialog::createFilterOptions()
nColor = 6; nColor = 6;
else else
nColor--; nColor--;
mxLbColorDepth->append_text( ms1BitTreshold ); mxLbColorDepth->append_text( ms1BitThreshold );
mxLbColorDepth->append_text( ms1BitDithered ); mxLbColorDepth->append_text( ms1BitDithered );
mxLbColorDepth->append_text( ms4BitGrayscale ); mxLbColorDepth->append_text( ms4BitGrayscale );
mxLbColorDepth->append_text( ms4BitColorPalette ); mxLbColorDepth->append_text( ms4BitColorPalette );
......
...@@ -54,7 +54,7 @@ private: ...@@ -54,7 +54,7 @@ private:
OUString const msEstimatedSizePix2; OUString const msEstimatedSizePix2;
OUString const msEstimatedSizeVec; OUString const msEstimatedSizeVec;
OUString const ms1BitTreshold; OUString const ms1BitThreshold;
OUString const ms1BitDithered; OUString const ms1BitDithered;
OUString const ms4BitGrayscale; OUString const ms4BitGrayscale;
OUString const ms4BitColorPalette; OUString const ms4BitColorPalette;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment