summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-25 11:03:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-25 12:03:50 +0200
commit2fffaf6f05d829e345ad8b391646a6e8df9a9a26 (patch)
treeec1b7343262433ee2ea9ab6e5197b6fd2327b685 /svx
parentf74da1315a5b2ec232a66944e41ff90231b383be (diff)
loplugin:unusedmethods
Change-Id: Ia874baf21257e5fe41e104211068a2bcc50446eb Reviewed-on: https://gerrit.libreoffice.org/40391 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/strarray.cxx18
-rw-r--r--svx/source/table/svdotable.cxx5
2 files changed, 0 insertions, 23 deletions
diff --git a/svx/source/dialog/strarray.cxx b/svx/source/dialog/strarray.cxx
index 3e3a92b28270..aeceec078475 100644
--- a/svx/source/dialog/strarray.cxx
+++ b/svx/source/dialog/strarray.cxx
@@ -25,17 +25,6 @@
#include "fieldunit.hrc"
#include "numberingtype.hrc"
-SvxStringArray::SvxStringArray(const char **pResId, size_t nLength)
-{
- for (size_t i = 0; i < nLength; ++i)
- m_aTranslations.push_back(SvxResId(pResId[i]));
-}
-
-const OUString SvxStringArray::GetString(sal_uInt32 nPos) const
-{
- return m_aTranslations[nPos];
-}
-
sal_uInt32 SvxFieldUnitTable::Count()
{
return SAL_N_ELEMENTS(RID_SVXSTR_FIELDUNIT_TABLE);
@@ -67,13 +56,6 @@ sal_uInt32 SvxAttrNameTable::Count()
return SAL_N_ELEMENTS(RID_ATTR_NAMES);
}
-sal_uInt16 SvxAttrNameTable::GetValue(sal_uInt32 nPos)
-{
- if (RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count())
- return RID_ATTR_NAMES[nPos].second;
- return 0;
-}
-
sal_uInt32 SvxAttrNameTable::FindIndex(int nValue)
{
for (size_t i = 0; i < SAL_N_ELEMENTS(RID_ATTR_NAMES); ++i)
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index a88553f0e0b2..1c8a7437f4a0 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -1169,11 +1169,6 @@ const SfxItemSet& SdrTableObj::GetActiveCellItemSet() const
return getActiveCell()->GetItemSet();
}
-void SdrTableObj::SetMergedItemSetAndBroadcastOnActiveCell(const SfxItemSet& rSet)
-{
- return getActiveCell()->SetMergedItemSetAndBroadcast(rSet, false/*bClearAllItems*/);
-}
-
void SdrTableObj::setTableStyle( const Reference< XIndexAccess >& xTableStyle )
{
if( mpImpl.is() && (mpImpl->mxTableStyle != xTableStyle) )