[Libreoffice-commits] .: i18npool/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Aug 31 04:21:36 PDT 2012


 i18npool/source/languagetag/languagetag.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 7e36822b706f3da04cec7c57d319b06a5f2e07df
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Aug 31 13:20:17 2012 +0200

    removed nonsense incRef() in operator=()
    
    Change-Id: I62e330ff47a60cc0acaf6deb3cd1011c7deb3f45

diff --git a/i18npool/source/languagetag/languagetag.cxx b/i18npool/source/languagetag/languagetag.cxx
index 9eae6ea..9c64b7c 100644
--- a/i18npool/source/languagetag/languagetag.cxx
+++ b/i18npool/source/languagetag/languagetag.cxx
@@ -249,8 +249,6 @@ LanguageTag::LanguageTag( const LanguageTag & rLanguageTag )
 
 LanguageTag& LanguageTag::operator=( const LanguageTag & rLanguageTag )
 {
-    theDataRef.incRef();
-
     maLocale            = rLanguageTag.maLocale;
     maBcp47             = rLanguageTag.maBcp47;
     maCachedLanguage    = rLanguageTag.maCachedLanguage;


More information about the Libreoffice-commits mailing list