summaryrefslogtreecommitdiff
path: root/sc/qa/unit/helper
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-03 23:27:39 +0300
committerTor Lillqvist <tml@iki.fi>2012-04-04 01:05:46 +0300
commit504f30621c4fc4a1447c0b25caf19027ac04b310 (patch)
treee18aecc0bc1a4656b32d90cb7607036c9c29fe46 /sc/qa/unit/helper
parentb91061f8e90a5da5db424f010d00cdf5cc60922b (diff)
WaE: unused function
Diffstat (limited to 'sc/qa/unit/helper')
-rw-r--r--sc/qa/unit/helper/debughelper.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/qa/unit/helper/debughelper.hxx b/sc/qa/unit/helper/debughelper.hxx
index cb2bad7b9f6f..6a01f52caa71 100644
--- a/sc/qa/unit/helper/debughelper.hxx
+++ b/sc/qa/unit/helper/debughelper.hxx
@@ -59,6 +59,9 @@ using ::std::vector;
namespace {
+#ifdef __GNUC__
+__attribute__((used))
+#endif
::std::ostream& operator<< (::std::ostream& os, const rtl::OUString& str)
{
return os << ::rtl::OUStringToOString(str, RTL_TEXTENCODING_UTF8).getStr();