summaryrefslogtreecommitdiff
path: root/sal/inc/rtl/ref.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/inc/rtl/ref.hxx')
-rw-r--r--sal/inc/rtl/ref.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/inc/rtl/ref.hxx b/sal/inc/rtl/ref.hxx
index 19c77a5f5998..f8d2a1f787a4 100644
--- a/sal/inc/rtl/ref.hxx
+++ b/sal/inc/rtl/ref.hxx
@@ -49,7 +49,9 @@ public:
*/
virtual oslInterlockedCount SAL_CALL release() = 0;
+#if !defined _MSC_VER // public -> protected changes mangled names there
protected:
+#endif
~IReference() {}
// avoid warnings about virtual members and non-virtual dtor
};