ok, that was a funny way to write "0"
This commit is contained in:
@@ -194,7 +194,7 @@ uno::Reference< text::XAutoTextGroup > SwXAutoTextContainer::insertNewByName(
|
|||||||
if(STRING_NOTFOUND == sGroup.Search(GLOS_DELIM))
|
if(STRING_NOTFOUND == sGroup.Search(GLOS_DELIM))
|
||||||
{
|
{
|
||||||
sGroup += GLOS_DELIM;
|
sGroup += GLOS_DELIM;
|
||||||
sGroup += OUString::valueOf(sal_Int32(0));
|
sGroup += "0";
|
||||||
}
|
}
|
||||||
pGlossaries->NewGroupDoc(sGroup, sGroup.GetToken(0, GLOS_DELIM));
|
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))
|
if(STRING_NOTFOUND == sNewGroup.Search(GLOS_DELIM))
|
||||||
{
|
{
|
||||||
sNewGroup += 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()
|
//the name must be saved, the group may be invalidated while in RenameGroupDoc()
|
||||||
|
Reference in New Issue
Block a user