diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-02 11:16:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-03 16:03:48 +0100 |
commit | aa7f880e8a847686bc4ec2d8ca5f74f39c32abac (patch) | |
tree | e10fb73e9e0d7320d22f53dada73c3baba8fe2f8 /svx/source/svdraw/svdotext.cxx | |
parent | bc2ae79f81c8aa081d6340348c70c0440f6e895e (diff) |
use more TypedWhichId in SdrObject::GetObjectItem
Change-Id: Iacaffa4bfcca2b594d962985fb9fc93712c4464c
Reviewed-on: https://gerrit.libreoffice.org/49137
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdotext.cxx')
-rw-r--r-- | svx/source/svdraw/svdotext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index c1c710080897..0dd6abe5788a 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -1471,7 +1471,7 @@ drawing::TextFitToSizeType SdrTextObj::GetFitToSize() const drawing::TextFitToSizeType eType = drawing::TextFitToSizeType_NONE; if(!IsAutoGrowWidth()) - eType = static_cast<const SdrTextFitToSizeTypeItem&>(GetObjectItem(SDRATTR_TEXT_FITTOSIZE)).GetValue(); + eType = GetObjectItem(SDRATTR_TEXT_FITTOSIZE).GetValue(); return eType; } |