summaryrefslogtreecommitdiff
path: root/svx/source/sdr/properties/attributeproperties.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-26 15:31:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-26 15:33:38 +0100
commit5429049e3b8fd12e84aca83be7ca19e52920f672 (patch)
tree3b473be72f20a82357bd3f8ee7aa558b6b517e99 /svx/source/sdr/properties/attributeproperties.cxx
parent0d05f417c3a7dcde89f5e15b29f39ce2db65b543 (diff)
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: Ic90647cc4da716b54b00520b683cee027a664c22
Diffstat (limited to 'svx/source/sdr/properties/attributeproperties.cxx')
-rw-r--r--svx/source/sdr/properties/attributeproperties.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sdr/properties/attributeproperties.cxx b/svx/source/sdr/properties/attributeproperties.cxx
index 978a4f5d09d7..51a71598e842 100644
--- a/svx/source/sdr/properties/attributeproperties.cxx
+++ b/svx/source/sdr/properties/attributeproperties.cxx
@@ -215,7 +215,7 @@ namespace sdr
// force ItemSet
mpItemSet->Put(*pResultItem);
// delete item if it was a generated one
- delete (SfxPoolItem*)pResultItem;
+ delete pResultItem;
}
else
mpItemSet->Put(*pNewItem);