diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-25 11:03:10 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-05-25 11:02:57 +0000 |
commit | d3714207b1d8cc323a639a942121b6c1aa4cd61b (patch) | |
tree | ad6d1ec19c087c8636aac37045b13f4d4d26f24e /sc/source/ui/drawfunc | |
parent | 78e4b913d1bdcef83f66249fb5006803f28f96d1 (diff) |
remove some unnecessary casts and convert some to const_cast
Change-Id: I590a87c832bc59947ae04e52d3ac5ea71574bb11
Reviewed-on: https://gerrit.libreoffice.org/15888
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/drawfunc')
-rw-r--r-- | sc/source/ui/drawfunc/fuconrec.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/fuconrec.cxx b/sc/source/ui/drawfunc/fuconrec.cxx index e93322753be3..a39f12fc9235 100644 --- a/sc/source/ui/drawfunc/fuconrec.cxx +++ b/sc/source/ui/drawfunc/fuconrec.cxx @@ -267,8 +267,6 @@ SdrObject* FuConstRectangle::CreateDefaultObject(const sal_uInt16 nID, const Rec // don't set default text, start edit mode instead // (Edit mode is started in ScTabViewShell::ExecDraw, because // it must be handled by FuText) - // String aText(ScResId(STR_CAPTION_DEFAULT_TEXT)); - // ((SdrCaptionObj*)pObj)->SetText(aText); static_cast<SdrCaptionObj*>(pObj)->SetLogicRect(aRect); static_cast<SdrCaptionObj*>(pObj)->SetTailPos( |