summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-12 14:00:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-14 10:14:56 +0100
commitc24b4dcff17d773221397d0fc2428e6f0454dfda (patch)
tree398dc7d48ee4dc8614688ccf9c55ff4e7f00ebc9 /sal
parent1110e665215bacadf639f2303f2bb262ea16851f (diff)
-Werror,-Wunused-member-function
Change-Id: I5dd8f718cb96c4442e2fce08a8dc4130e934c68d
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/math.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx
index 3bca17156c3a..9326edb8487b 100644
--- a/sal/rtl/math.cxx
+++ b/sal/rtl/math.cxx
@@ -219,13 +219,6 @@ struct StringTraits
rtl_string_new_WithLength(pBuffer, *pCapacity);
}
- static inline void appendChar(rtl_String ** pBuffer, sal_Int32 * pCapacity,
- sal_Int32 * pOffset, sal_Char cChar)
- {
- rtl_stringbuffer_insert(pBuffer, pCapacity, *pOffset, &cChar, 1);
- ++*pOffset;
- }
-
static inline void appendChars(rtl_String ** pBuffer, sal_Int32 * pCapacity,
sal_Int32 * pOffset, sal_Char const * pChars,
sal_Int32 nLen)
@@ -261,13 +254,6 @@ struct UStringTraits
rtl_uString_new_WithLength(pBuffer, *pCapacity);
}
- static inline void appendChar(rtl_uString ** pBuffer, sal_Int32 * pCapacity,
- sal_Int32 * pOffset, sal_Unicode cChar)
- {
- rtl_uStringbuffer_insert(pBuffer, pCapacity, *pOffset, &cChar, 1);
- ++*pOffset;
- }
-
static inline void appendChars(rtl_uString ** pBuffer,
sal_Int32 * pCapacity, sal_Int32 * pOffset,
sal_Unicode const * pChars, sal_Int32 nLen)