[Libreoffice-commits] core.git: svl/source
Kohei Yoshida
kohei.yoshida at collabora.com
Thu May 25 11:31:06 UTC 2017
svl/source/misc/sharedstring.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f832a2fd348de2c9c25e44ce2e18d7bd6a567393
Author: Kohei Yoshida <kohei.yoshida at 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);
}
More information about the Libreoffice-commits
mailing list