diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-20 15:04:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-21 07:20:49 +0100 |
commit | 1bbd5a1f907f6ee86f060c3c4bcd0a4ab25e5aa0 (patch) | |
tree | eecc2717964d1b8604898228ca09bb11ac70f4ef /svx/source/dialog/compressgraphicdialog.cxx | |
parent | 0220520609b7e67fdbe22e641d9dd5c027ee3d75 (diff) |
TypedWhichId for SDRATTR* constants (2)
Change-Id: I9926d55568f8b5bbc67f448bbf7fb660e74505fd
Reviewed-on: https://gerrit.libreoffice.org/44964
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/dialog/compressgraphicdialog.cxx')
-rw-r--r-- | svx/source/dialog/compressgraphicdialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/compressgraphicdialog.cxx b/svx/source/dialog/compressgraphicdialog.cxx index 77ce8cdfc868..9142d3c42186 100644 --- a/svx/source/dialog/compressgraphicdialog.cxx +++ b/svx/source/dialog/compressgraphicdialog.cxx @@ -47,7 +47,7 @@ CompressGraphicsDialog::CompressGraphicsDialog( vcl::Window* pParent, SdrGrafObj m_rBindings ( rBindings ), m_dResolution ( 96.0 ) { - const SdrGrafCropItem& rCrop = static_cast<const SdrGrafCropItem&>( m_pGraphicObj->GetMergedItem(SDRATTR_GRAFCROP) ); + const SdrGrafCropItem& rCrop = m_pGraphicObj->GetMergedItem(SDRATTR_GRAFCROP); m_aCropRectangle = tools::Rectangle(rCrop.GetLeft(), rCrop.GetTop(), rCrop.GetRight(), rCrop.GetBottom()); Initialize(); |