summaryrefslogtreecommitdiff
path: root/svl/source
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2017-05-25 07:30:17 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2017-05-25 07:30:17 -0400
commitf832a2fd348de2c9c25e44ce2e18d7bd6a567393 (patch)
tree37386ac8974b6f34d5c5015a3c59ef9f31ed951e /svl/source
parenta563c5f4373b6258f693ad9691eedb15fe4ff268 (diff)
Revert "tdf#107945: Perhaps this will make this method thread-safe..."
This reverts commit 50fc62ce76bc51f18b16eae937761d0a8872df3e. The method was already thread-safe before this change.
Diffstat (limited to 'svl/source')
-rw-r--r--svl/source/misc/sharedstring.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}