You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2015/03/26 23:21:14 UTC

svn commit: r1669463 - /openoffice/trunk/main/sal/inc/rtl/string.hxx

Author: pfg
Date: Thu Mar 26 22:21:14 2015
New Revision: 1669463

URL: http://svn.apache.org/r1669463
Log:
Move operator to the public section.

This solves visibility issues with modern gcc.

Author:		Don Lewis (truckman at FreeBSD)

Modified:
    openoffice/trunk/main/sal/inc/rtl/string.hxx

Modified: openoffice/trunk/main/sal/inc/rtl/string.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sal/inc/rtl/string.hxx?rev=1669463&r1=1669462&r2=1669463&view=diff
==============================================================================
--- openoffice/trunk/main/sal/inc/rtl/string.hxx (original)
+++ openoffice/trunk/main/sal/inc/rtl/string.hxx Thu Mar 26 22:21:14 2015
@@ -234,8 +234,9 @@ private:
       @return a pointer to a (not necessarily null-terminated) byte string
       representing the characters of this string object.
     */
-    operator const sal_Char *() const SAL_THROW(()) { return pData->buffer; }
+
 public:
+    operator const sal_Char *() const SAL_THROW(()) { return pData->buffer; }
     /** Returns a reference to a character of this string. */
     sal_Char& operator[]( int n ) { return pData->buffer[n]; }
     /** Returns a const reference to a character of this string. */