summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-04-26 17:48:37 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-04-26 17:57:45 +0200
commit4d0e97f33d559cf3004ee41735b1dd57b584e95c (patch)
treebcb72cb1fbed2c5e3bd3b51b762dee430945d5d2
parent0ef2999f7b498686ad38749b93f0591dd52bcc50 (diff)
writerfilter: unused appendToInteropGrabBag() version
Change-Id: Ie00332fcaaf3a78516569b010ac2ff7e2c259b28
-rw-r--r--unusedcode.easy1
-rw-r--r--writerfilter/source/dmapper/SdtHelper.cxx8
-rw-r--r--writerfilter/source/dmapper/SdtHelper.hxx1
3 files changed, 0 insertions, 10 deletions
diff --git a/unusedcode.easy b/unusedcode.easy
index e3a896fd023d..4ba0403dcbfa 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -238,4 +238,3 @@ std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr_ref<formula::F
std::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread>, std::allocator<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread> > >::reserve(unsigned long)
utl::extractTime(com::sun::star::util::DateTime const&, com::sun::star::util::Time&)
vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool)
-writerfilter::dmapper::SdtHelper::appendToInteropGrabBag(rtl::OUString const&, com::sun::star::uno::Any const&)
diff --git a/writerfilter/source/dmapper/SdtHelper.cxx b/writerfilter/source/dmapper/SdtHelper.cxx
index ad3c3150bd65..a18f84ddaef1 100644
--- a/writerfilter/source/dmapper/SdtHelper.cxx
+++ b/writerfilter/source/dmapper/SdtHelper.cxx
@@ -188,14 +188,6 @@ bool SdtHelper::hasElements()
return m_bHasElements;
}
-void SdtHelper::appendToInteropGrabBag(const OUString& rName, const css::uno::Any& rValue)
-{
- sal_Int32 nLength = m_aGrabBag.getLength();
- m_aGrabBag.realloc(nLength + 1);
- m_aGrabBag[nLength].Name = rName;
- m_aGrabBag[nLength].Value = rValue;
-}
-
void SdtHelper::appendToInteropGrabBag(com::sun::star::beans::PropertyValue rValue)
{
sal_Int32 nLength = m_aGrabBag.getLength();
diff --git a/writerfilter/source/dmapper/SdtHelper.hxx b/writerfilter/source/dmapper/SdtHelper.hxx
index c68c4d004d0a..9e730b2335ef 100644
--- a/writerfilter/source/dmapper/SdtHelper.hxx
+++ b/writerfilter/source/dmapper/SdtHelper.hxx
@@ -82,7 +82,6 @@ public:
/// Create date control from w:sdt's w:date.
void createDateControl(OUString& rContentText);
- void appendToInteropGrabBag(const OUString& rName, const css::uno::Any& rValue);
void appendToInteropGrabBag(com::sun::star::beans::PropertyValue rValue);
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> getInteropGrabBagAndClear();
bool isInteropGrabBagEmpty();