summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2012-07-24 20:21:22 +0200
committerTomaž Vajngerl <quikee@gmail.com>2012-07-24 22:17:26 +0200
commit963cababc65c945412963f7d66578b544d5f720b (patch)
tree5039dd1529827bb6a73d1d4579988c5d007a2234 /svx/inc
parentb8d562018155d7bb961198dc1f1dfd5e7a0d1d62 (diff)
Simplify compression and remove code duplication in CompressGraphicDialog
Change-Id: Ia9e3bab09eef6e1055f1fd689373ab65310ea7e3
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/svx/compressgraphicdialog.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/svx/inc/svx/compressgraphicdialog.hxx b/svx/inc/svx/compressgraphicdialog.hxx
index bf93e629de91..d535b98fd297 100644
--- a/svx/inc/svx/compressgraphicdialog.hxx
+++ b/svx/inc/svx/compressgraphicdialog.hxx
@@ -80,6 +80,12 @@ private:
void UpdateNewHeightMF();
void UpdateResolutionLB();
+ void Compress(SvStream& aStream);
+
+
+ double GetViewWidthInch();
+ double GetViewHeightInch();
+
public:
CompressGraphicsDialog( Window* pParent, const Graphic& rGraphic, const Size& rViewSize100mm, SfxBindings& rBindings );
virtual ~CompressGraphicsDialog();