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 /starmath | |
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 'starmath')
-rw-r--r-- | starmath/qa/cppunit/test_nodetotextvisitors.cxx | 3 | ||||
-rw-r--r-- | starmath/qa/cppunit/test_starmath.cxx | 3 | ||||
-rw-r--r-- | starmath/source/ElementsDockingWindow.cxx | 3 |
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), |