[Libreoffice-commits] core.git: svx/source svx/uiconfig
andreas kainz (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jan 13 07:24:09 UTC 2020
svx/source/dialog/compressgraphicdialog.cxx | 4 ++--
svx/uiconfig/ui/compressgraphicdialog.ui | 14 +++++---------
2 files changed, 7 insertions(+), 11 deletions(-)
New commits:
commit d3ac24bdb5dd4bc70a0b0c217b5e8f503dad8545
Author: andreas kainz <kainz.a at gmail.com>
AuthorDate: Wed Jan 8 14:44:54 2020 +0100
Commit: andreas_kainz <kainz.a at gmail.com>
CommitDate: Mon Jan 13 08:23:36 2020 +0100
tdf#128658 update image compress dialog default settings
Change-Id: I4bfd14d1d8543e27eb31e340742fac527d22e6d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86431
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a at gmail.com>
diff --git a/svx/source/dialog/compressgraphicdialog.cxx b/svx/source/dialog/compressgraphicdialog.cxx
index df4e08b3ca7a..060c9ba9ab38 100644
--- a/svx/source/dialog/compressgraphicdialog.cxx
+++ b/svx/source/dialog/compressgraphicdialog.cxx
@@ -46,7 +46,7 @@ CompressGraphicsDialog::CompressGraphicsDialog( weld::Window* pParent, SdrGrafOb
m_aGraphic ( pGraphicObj->GetGraphicObject().GetGraphic() ),
m_aViewSize100mm ( pGraphicObj->GetLogicRect().GetSize() ),
m_rBindings ( rBindings ),
- m_dResolution ( 96.0 )
+ m_dResolution ( 300 )
{
const SdrGrafCropItem& rCrop = m_xGraphicObj->GetMergedItem(SDRATTR_GRAFCROP);
m_aCropRectangle = tools::Rectangle(rCrop.GetLeft(), rCrop.GetTop(), rCrop.GetRight(), rCrop.GetBottom());
@@ -61,7 +61,7 @@ CompressGraphicsDialog::CompressGraphicsDialog( weld::Window* pParent, Graphic c
m_aViewSize100mm ( rViewSize100mm ),
m_aCropRectangle ( rCropRectangle ),
m_rBindings ( rBindings ),
- m_dResolution ( 96.0 )
+ m_dResolution ( 300 )
{
Initialize();
}
diff --git a/svx/uiconfig/ui/compressgraphicdialog.ui b/svx/uiconfig/ui/compressgraphicdialog.ui
index 2897e7b6ae07..1edc4273ed3f 100644
--- a/svx/uiconfig/ui/compressgraphicdialog.ui
+++ b/svx/uiconfig/ui/compressgraphicdialog.ui
@@ -5,7 +5,7 @@
<object class="GtkAdjustment" id="compression-adjustment">
<property name="lower">1</property>
<property name="upper">9</property>
- <property name="value">9</property>
+ <property name="value">6</property>
<property name="step_increment">1</property>
<property name="page_increment">1</property>
</object>
@@ -19,9 +19,9 @@
<object class="GtkAdjustment" id="quality-adjustment">
<property name="lower">1</property>
<property name="upper">99</property>
- <property name="value">90</property>
+ <property name="value">80</property>
<property name="step_increment">1</property>
- <property name="page_increment">10</property>
+ <property name="page_increment">5</property>
</object>
<object class="GtkAdjustment" id="width-adjustment">
<property name="lower">1</property>
@@ -203,10 +203,8 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="activates_default">True</property>
- <property name="text">90</property>
<property name="adjustment">quality-adjustment</property>
<property name="numeric">True</property>
- <property name="value">90</property>
<accessibility>
<relation type="labelled-by" target="radio-jpeg"/>
</accessibility>
@@ -257,10 +255,10 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="activates_default">True</property>
- <property name="text">9</property>
+ <property name="text">6</property>
<property name="adjustment">compression-adjustment</property>
<property name="numeric">True</property>
- <property name="value">9</property>
+ <property name="value">6</property>
<accessibility>
<relation type="labelled-by" target="radio-lossless"/>
</accessibility>
@@ -429,8 +427,6 @@
<property name="can_focus">False</property>
<property name="has_entry">True</property>
<items>
- <item>50</item>
- <item>75</item>
<item>96</item>
<item>150</item>
<item>200</item>
More information about the Libreoffice-commits
mailing list