svl/source/misc/sharedstring.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f832a2fd348de2c9c25e44ce2e18d7bd6a567393 Author: Kohei Yoshida <kohei.yosh...@collabora.com> Date: Thu May 25 07:30:17 2017 -0400 Revert "tdf#107945: Perhaps this will make this method thread-safe..." This reverts commit 50fc62ce76bc51f18b16eae937761d0a8872df3e. The method was already thread-safe before this change. diff --git a/svl/source/misc/sharedstring.cxx b/svl/source/misc/sharedstring.cxx index 28f6473d0377..9235783ce774 100644 --- a/svl/source/misc/sharedstring.cxx +++ b/svl/source/misc/sharedstring.cxx @@ -15,7 +15,7 @@ SharedString SharedString::getEmptyString() { // unicode string array for empty string is globally shared in OUString. // Let's take advantage of that. - static rtl_uString* pData = nullptr; + rtl_uString* pData = nullptr; rtl_uString_new(&pData); return SharedString(pData, pData); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits