summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-25 11:03:10 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-05-25 11:02:57 +0000
commitd3714207b1d8cc323a639a942121b6c1aa4cd61b (patch)
treead6d1ec19c087c8636aac37045b13f4d4d26f24e /sc
parent78e4b913d1bdcef83f66249fb5006803f28f96d1 (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')
-rw-r--r--sc/source/ui/drawfunc/fuconrec.cxx2
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(