summaryrefslogtreecommitdiff
path: root/sc/inc/fmtuno.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-07 09:03:53 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-08 06:39:11 +0000
commite626ebf50884520b38137a52a6ffc654c377956d (patch)
treecd38bee6f815381dfcecb88543708f250188a599 /sc/inc/fmtuno.hxx
parent261f734b3c0e62ada51485ba81a535d32049c946 (diff)
remove some manual refcounting in sc
Change-Id: Ie13b28ffaf861dc85063e5a4b23fef8c929033d9 Reviewed-on: https://gerrit.libreoffice.org/26006 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/inc/fmtuno.hxx')
-rw-r--r--sc/inc/fmtuno.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/fmtuno.hxx b/sc/inc/fmtuno.hxx
index 76209ad438f8..774d94ad19bb 100644
--- a/sc/inc/fmtuno.hxx
+++ b/sc/inc/fmtuno.hxx
@@ -74,7 +74,7 @@ class ScTableConditionalFormat : public cppu::WeakImplHelper<
css::lang::XServiceInfo >
{
private:
- std::vector<ScTableConditionalEntry*> aEntries;
+ std::vector<rtl::Reference<ScTableConditionalEntry>> maEntries;
ScTableConditionalEntry* GetObjectByIndex_Impl(sal_uInt16 nIndex) const;
void AddEntry_Impl(const ScCondFormatEntryItem& aEntry);