ok, that was a funny way to write "0"

This commit is contained in:
Luboš Luňák
2013-01-09 14:18:43 +01:00
parent 21be5156d4
commit 79c293dd53

View File

@@ -194,7 +194,7 @@ uno::Reference< text::XAutoTextGroup > SwXAutoTextContainer::insertNewByName(
if(STRING_NOTFOUND == sGroup.Search(GLOS_DELIM))
{
sGroup += GLOS_DELIM;
sGroup += OUString::valueOf(sal_Int32(0));
sGroup += "0";
}
pGlossaries->NewGroupDoc(sGroup, sGroup.GetToken(0, GLOS_DELIM));
@@ -494,7 +494,7 @@ void SwXAutoTextGroup::setName(const OUString& rName) throw( uno::RuntimeExcepti
if(STRING_NOTFOUND == sNewGroup.Search(GLOS_DELIM))
{
sNewGroup += GLOS_DELIM;
sNewGroup += OUString::valueOf(sal_Int32(0));
sNewGroup += "0";
}
//the name must be saved, the group may be invalidated while in RenameGroupDoc()