diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-07 12:31:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-07 12:38:27 +0200 |
commit | 8f6c55a839d790c9268c1d0686f3eaf2f23484cb (patch) | |
tree | 1b10a5e10b66c3c8dcf0a8bf295167563e0f6828 /include/svtools/svparser.hxx | |
parent | cppcheck: "else if" condition matches previous condition (diff) | |
download | core-8f6c55a839d790c9268c1d0686f3eaf2f23484cb.tar.gz core-8f6c55a839d790c9268c1d0686f3eaf2f23484cb.zip |
Replace SV_DECL/IMPL_REF macros with SvRef template
Change-Id: I0ef2e67f6d61e0ce118c0f5e926b8194ef9d8058
Diffstat (limited to 'include/svtools/svparser.hxx')
-rw-r--r-- | include/svtools/svparser.hxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx index c85d6d6cb983..3e21473e2f65 100644 --- a/include/svtools/svparser.hxx +++ b/include/svtools/svparser.hxx @@ -174,11 +174,8 @@ public: #ifndef GOODIES_DECL_SVPARSER_DEFINED #define GOODIES_DECL_SVPARSER_DEFINED -SV_DECL_REF(SvParser) +typedef tools::SvRef<SvParser> SvParserRef; #endif -SV_IMPL_REF(SvParser) - - inline sal_uLong SvParser::SetLineNr( sal_uLong nlNum ) { sal_uLong nlOld = nlLineNr; nlLineNr = nlNum; return nlOld; } @@ -201,8 +198,6 @@ inline sal_uInt16 SvParser::GetCharSize() const * *======================================================================*/ -SV_DECL_REF(SvKeyValueIterator) - class SvKeyValue { /** Representation. @@ -271,7 +266,7 @@ public: virtual void Append (const SvKeyValue &rKeyVal); }; -SV_IMPL_REF(SvKeyValueIterator); +typedef tools::SvRef<SvKeyValueIterator> SvKeyValueIteratorRef; #endif // INCLUDED_SVTOOLS_SVPARSER_HXX |