summaryrefslogtreecommitdiff
path: root/include/svtools/svparser.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-07 12:31:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-07 12:38:27 +0200
commit8f6c55a839d790c9268c1d0686f3eaf2f23484cb (patch)
tree1b10a5e10b66c3c8dcf0a8bf295167563e0f6828 /include/svtools/svparser.hxx
parente0f6559776b515a7d51331c7e848ac785e751c6a (diff)
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.hxx9
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