summaryrefslogtreecommitdiff
path: root/tools/source/rc/resary.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-05-09 20:51:12 +0200
committerEike Rathke <erack@redhat.com>2014-05-10 00:39:43 +0200
commit0b2c8a8b2b7cd41ed8e25d2e184a8e7241abed02 (patch)
tree21523e4ff5463c609e3f4122dd218e977ad70353 /tools/source/rc/resary.cxx
parentde8f5f2af78877bc63b462195ce63341f6ba7817 (diff)
added ResStringArray::AddItem()
Change-Id: I361cd4256c0816a46ea6e37dd9fd2680d3dba9fb
Diffstat (limited to 'tools/source/rc/resary.cxx')
-rw-r--r--tools/source/rc/resary.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/source/rc/resary.cxx b/tools/source/rc/resary.cxx
index 77f3ee74ecf3..dac1d94df054 100644
--- a/tools/source/rc/resary.cxx
+++ b/tools/source/rc/resary.cxx
@@ -60,4 +60,10 @@ sal_uInt32 ResStringArray::FindIndex( sal_IntPtr nValue ) const
return RESARRAY_INDEX_NOTFOUND;
}
+sal_uInt32 ResStringArray::AddItem( const OUString& rString, sal_IntPtr nValue )
+{
+ m_aStrings.push_back( ImplResStringItem( rString, nValue));
+ return m_aStrings.size();
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */