summaryrefslogtreecommitdiff
path: root/xmloff
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 /xmloff
parente0f6559776b515a7d51331c7e848ac785e751c6a (diff)
Replace SV_DECL/IMPL_REF macros with SvRef template
Change-Id: I0ef2e67f6d61e0ce118c0f5e926b8194ef9d8058
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/forms/elementimport.hxx2
-rw-r--r--xmloff/source/forms/layerimport.cxx2
-rw-r--r--xmloff/source/forms/layerimport.hxx3
-rw-r--r--xmloff/source/forms/propertyimport.hxx2
4 files changed, 4 insertions, 5 deletions
diff --git a/xmloff/source/forms/elementimport.hxx b/xmloff/source/forms/elementimport.hxx
index 93014b3927eb..a1089083e37f 100644
--- a/xmloff/source/forms/elementimport.hxx
+++ b/xmloff/source/forms/elementimport.hxx
@@ -519,7 +519,7 @@ namespace xmloff
void implSelectCurrentItem();
void implDefaultSelectCurrentItem();
};
- SV_DECL_IMPL_REF(OListAndComboImport);
+ typedef tools::SvRef<OListAndComboImport> OListAndComboImportRef;
//= OListOptionImport
/** helper class for importing a single &lt;form:option&gt; element.
diff --git a/xmloff/source/forms/layerimport.cxx b/xmloff/source/forms/layerimport.cxx
index b640b2a0f8b1..16666864933c 100644
--- a/xmloff/source/forms/layerimport.cxx
+++ b/xmloff/source/forms/layerimport.cxx
@@ -53,8 +53,6 @@
#include <rtl/strbuf.hxx>
#include <algorithm>
-SV_IMPL_REF( SvXMLStylesContext );
-
namespace xmloff
{
diff --git a/xmloff/source/forms/layerimport.hxx b/xmloff/source/forms/layerimport.hxx
index 86beb9e282a2..dee6ad9e4efc 100644
--- a/xmloff/source/forms/layerimport.hxx
+++ b/xmloff/source/forms/layerimport.hxx
@@ -35,8 +35,9 @@
class SvXMLImport;
class SvXMLImportContext;
class SvXMLStyleContext;
+class SvXMLStylesContext;
-SV_DECL_REF( SvXMLStylesContext )
+typedef tools::SvRef<SvXMLStylesContext> SvXMLStylesContextRef;
// unfortunately, we can't put this into our namespace, as the macro expands to (amongst others) a forward
// declaration of the class name, which then would be in the namespace, too
diff --git a/xmloff/source/forms/propertyimport.hxx b/xmloff/source/forms/propertyimport.hxx
index e27fd52abe69..d67474d6bd89 100644
--- a/xmloff/source/forms/propertyimport.hxx
+++ b/xmloff/source/forms/propertyimport.hxx
@@ -146,7 +146,7 @@ namespace xmloff
m_aGenericValues.push_back(_rProp);
}
};
- SV_DECL_IMPL_REF( OPropertyImport )
+ typedef tools::SvRef<OPropertyImport> OPropertyImportRef;
//= OPropertyElementsContext
/** helper class for importing the &lt;form:properties&gt; element