summaryrefslogtreecommitdiff
path: root/lotuswordpro/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-27 20:01:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-27 22:53:13 +0200
commita7667f53c23bc88ed645f84a19896bc45f748f2a (patch)
treedae0bef947860594d48abde0de2b833e6795554e /lotuswordpro/inc
parent8024118d5c9ac964e35e8c4163ca14a5cd78cc3d (diff)
we are going to remove the entire row anyway
so don't iterate over the cells explicitly dropping them Change-Id: If0de504ac9711d1e6a757cdd15574f15585ca928 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121180 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'lotuswordpro/inc')
-rw-r--r--lotuswordpro/inc/xfilter/xfrow.hxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/lotuswordpro/inc/xfilter/xfrow.hxx b/lotuswordpro/inc/xfilter/xfrow.hxx
index 009bdad95326..f18e12b8c64b 100644
--- a/lotuswordpro/inc/xfilter/xfrow.hxx
+++ b/lotuswordpro/inc/xfilter/xfrow.hxx
@@ -57,8 +57,7 @@
* @file
* Table row object. A table is consist by rows.
************************************************************************/
-#ifndef INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFROW_HXX
-#define INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFROW_HXX
+#pragma once
#include <xfilter/xfcell.hxx>
#include <xfilter/xfcontent.hxx>
@@ -93,8 +92,6 @@ public:
virtual void ToXml(IXFStream *pStrm) override;
- void RemoveCell(sal_Int32 cell);
-
private:
XFTable *m_pOwnerTable;
std::map<sal_Int32, rtl::Reference<XFCell>> m_aCells;
@@ -127,10 +124,4 @@ inline XFTable* XFRow::GetOwnerTable()
return m_pOwnerTable;
}
-inline void XFRow::RemoveCell(sal_Int32 cell)
-{
- m_aCells.erase(cell);
-}
-
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */