summaryrefslogtreecommitdiff
path: root/starmath
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 /starmath
parente0f6559776b515a7d51331c7e848ac785e751c6a (diff)
Replace SV_DECL/IMPL_REF macros with SvRef template
Change-Id: I0ef2e67f6d61e0ce118c0f5e926b8194ef9d8058
Diffstat (limited to 'starmath')
-rw-r--r--starmath/qa/cppunit/test_nodetotextvisitors.cxx3
-rw-r--r--starmath/qa/cppunit/test_starmath.cxx3
-rw-r--r--starmath/source/ElementsDockingWindow.cxx3
3 files changed, 3 insertions, 6 deletions
diff --git a/starmath/qa/cppunit/test_nodetotextvisitors.cxx b/starmath/qa/cppunit/test_nodetotextvisitors.cxx
index 91cdd65ef6d2..e5c862600db7 100644
--- a/starmath/qa/cppunit/test_nodetotextvisitors.cxx
+++ b/starmath/qa/cppunit/test_nodetotextvisitors.cxx
@@ -18,8 +18,7 @@
#include <visitors.hxx>
#include <cursor.hxx>
-SV_DECL_REF(SmDocShell)
-SV_IMPL_REF(SmDocShell)
+typedef tools::SvRef<SmDocShell> SmDocShellRef;
using namespace ::com::sun::star;
diff --git a/starmath/qa/cppunit/test_starmath.cxx b/starmath/qa/cppunit/test_starmath.cxx
index f8cf43857202..deeade86e1ca 100644
--- a/starmath/qa/cppunit/test_starmath.cxx
+++ b/starmath/qa/cppunit/test_starmath.cxx
@@ -27,8 +27,7 @@
#include <sfx2/zoomitem.hxx>
-SV_DECL_REF(SmDocShell)
-SV_IMPL_REF(SmDocShell)
+typedef tools::SvRef<SmDocShell> SmDocShellRef;
using namespace ::com::sun::star;
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index d5e27725e7e2..d46f350e5f02 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -28,8 +28,7 @@
#include <svl/stritem.hxx>
#include <sfx2/dispatch.hxx>
-SV_DECL_REF(SmDocShell)
-SV_IMPL_REF(SmDocShell)
+typedef tools::SvRef<SmDocShell> SmDocShellRef;
SmElement::SmElement(SmNodePointer pNode, const OUString& aText, const OUString& aHelpText) :
mpNode(pNode),