diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-09 15:17:13 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-09 17:25:27 +0200 |
commit | 76757ebd98df1e08d00282cb96312b5be7690d16 (patch) | |
tree | ac6a0e4561954800a18d8c86a1e8acfc58816ac6 /sal | |
parent | compiler check for unused variables (diff) | |
download | core-76757ebd98df1e08d00282cb96312b5be7690d16.tar.gz core-76757ebd98df1e08d00282cb96312b5be7690d16.zip |
mark our string classes as SAL_WARN_UNUSED
Change-Id: I420229dea6c5b3e45cec5989897bb31654851e32
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/rtl/strbuf.hxx | 2 | ||||
-rw-r--r-- | sal/inc/rtl/string.hxx | 2 | ||||
-rw-r--r-- | sal/inc/rtl/ustrbuf.hxx | 2 | ||||
-rw-r--r-- | sal/inc/rtl/ustring.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sal/inc/rtl/strbuf.hxx b/sal/inc/rtl/strbuf.hxx index 62c17990453e..51bb05febfb0 100644 --- a/sal/inc/rtl/strbuf.hxx +++ b/sal/inc/rtl/strbuf.hxx @@ -97,7 +97,7 @@ namespace rtl buffer array. If the internal buffer overflows, it is automatically made larger. */ -class OStringBuffer +class SAL_WARN_UNUSED OStringBuffer { public: /** diff --git a/sal/inc/rtl/string.hxx b/sal/inc/rtl/string.hxx index d58999b812f6..a135d4ed400b 100644 --- a/sal/inc/rtl/string.hxx +++ b/sal/inc/rtl/string.hxx @@ -91,7 +91,7 @@ namespace rtl use this class. */ -class OString +class SAL_WARN_UNUSED OString { public: /// @cond INTERNAL diff --git a/sal/inc/rtl/ustrbuf.hxx b/sal/inc/rtl/ustrbuf.hxx index a11dff178442..426d129ab5d5 100644 --- a/sal/inc/rtl/ustrbuf.hxx +++ b/sal/inc/rtl/ustrbuf.hxx @@ -92,7 +92,7 @@ namespace rtl buffer array. If the internal buffer overflows, it is automatically made larger. */ -class OUStringBuffer +class SAL_WARN_UNUSED OUStringBuffer { public: /** diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx index e12a4b0b6256..97568012e06a 100644 --- a/sal/inc/rtl/ustring.hxx +++ b/sal/inc/rtl/ustring.hxx @@ -90,7 +90,7 @@ namespace rtl use this class. */ -class OUString +class SAL_WARN_UNUSED OUString { public: /// @cond INTERNAL |