[Libreoffice-commits] core.git: svtools/source
Stephan Bergmann
sbergman at redhat.com
Mon Sep 7 23:56:36 PDT 2015
svtools/source/filter/exportdialog.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f36f17f691903a389a7d98e85af12e08b75f6876
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Sep 8 08:53:49 2015 +0200
This shall presumably use nCompression, not a hardcoded "9"
...looks like a regression introduced with
333d1e3dcc2e819f8c62c9713cca96fbedaba3de, "impress186: #i4499# graphic dialog
reorganisation - added support of bitmap resolution," found with
clang-analyzer-deadcode.DeadStores
Change-Id: I86522b9e9a96e1de8ae35c77d779365b29f23f72
diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx
index 3599863..e675a27 100644
--- a/svtools/source/filter/exportdialog.cxx
+++ b/svtools/source/filter/exportdialog.cxx
@@ -779,7 +779,7 @@ void ExportDialog::createFilterOptions()
mpSbCompression->SetRangeMax( 9 );
mpNfCompression->SetMin( 1 );
mpNfCompression->SetMax( 9 );
- mpNfCompression->SetValue( 9 );
+ mpNfCompression->SetValue( nCompression );
mpNfCompression->SetStrictFormat( true );
// Interlaced
More information about the Libreoffice-commits
mailing list