diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-12-05 00:23:01 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-06 13:35:18 +0100 |
commit | f82a55ec476955d9d4467725a4ea3ce9e514d8dd (patch) | |
tree | 4fdc2c56439d929c1dfe08639869f5854f0f2f1a /sal | |
parent | pass string by reference instead of by value (diff) | |
download | core-f82a55ec476955d9d4467725a4ea3ce9e514d8dd.tar.gz core-f82a55ec476955d9d4467725a4ea3ce9e514d8dd.zip |
acquire on the shared empty string does nothing
Change-Id: I03a38c387044bda8cec6287ab41c6d202c496473
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/source/strtmpl.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sal/rtl/source/strtmpl.cxx b/sal/rtl/source/strtmpl.cxx index afeb2db8ca60..ffe12adf0d71 100644 --- a/sal/rtl/source/strtmpl.cxx +++ b/sal/rtl/source/strtmpl.cxx @@ -1062,7 +1062,6 @@ void SAL_CALL IMPL_RTL_STRINGNAME( new )( IMPL_RTL_STRINGDATA** ppThis ) IMPL_RTL_STRINGNAME( release )( *ppThis ); *ppThis = (IMPL_RTL_STRINGDATA*) (&IMPL_RTL_EMPTYSTRING); - IMPL_RTL_AQUIRE( *ppThis ); } /* ----------------------------------------------------------------------- */ |