diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-08 08:53:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-08 08:53:49 +0200 |
commit | f36f17f691903a389a7d98e85af12e08b75f6876 (patch) | |
tree | 46dc84b63ae864748138ccb464a042572de64fde /svtools | |
parent | 0c714e260ef7153229bca8794a01c8fffd7c7361 (diff) |
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
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter/exportdialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx index 35998633b37b..e675a2703a99 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 |