diff options
Diffstat (limited to 'sal/qa/rtl/ref/rtl_ref.cxx')
-rw-r--r-- | sal/qa/rtl/ref/rtl_ref.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/qa/rtl/ref/rtl_ref.cxx b/sal/qa/rtl/ref/rtl_ref.cxx index 2c7d3aae5276..2bf7c9803f3d 100644 --- a/sal/qa/rtl/ref/rtl_ref.cxx +++ b/sal/qa/rtl/ref/rtl_ref.cxx @@ -16,6 +16,8 @@ namespace rtl_ref { +namespace { + class MoveTestClass { private: @@ -45,6 +47,8 @@ public: void set_inc_flag() { m_bIncFlag = true; } }; +} + static rtl::Reference< MoveTestClass > get_reference( MoveTestClass* pcTestClass ) { // constructor will increment the reference count |