svx/source/svdraw/svdview.cxx | 2 +- sw/source/ui/uno/unoatxt.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit c57906c8f614047a488eea6eb77c535bf90a889e Author: LuboÅ¡ LuÅák <l.lu...@suse.cz> Date: Wed Jan 9 18:02:32 2013 +0100 OUString::valueOf sal_Int32 cast once more diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index b78f71c..b28c9c1 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -1255,7 +1255,7 @@ XubString SdrView::GetStatusText() #ifdef DBG_UTIL aStr += UniString( RTL_CONSTASCII_USTRINGPARAM( ", Level " ) ); - aStr += OUString::valueOf( pTextEditOutliner->GetDepth( aSel.nEndPara ) ); + aStr += OUString::valueOf( sal_Int32( pTextEditOutliner->GetDepth( aSel.nEndPara )) ); #endif } commit 79c293dd53a7cb3aaffceab2ee0ccd7c80a22667 Author: LuboÅ¡ LuÅák <l.lu...@suse.cz> Date: Wed Jan 9 14:18:43 2013 +0100 ok, that was a funny way to write "0" diff --git a/sw/source/ui/uno/unoatxt.cxx b/sw/source/ui/uno/unoatxt.cxx index 8c102ec..1c65d16 100644 --- a/sw/source/ui/uno/unoatxt.cxx +++ b/sw/source/ui/uno/unoatxt.cxx @@ -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()
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits