From d610e8618e04075d99bbbf78fc741637914f1c7e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 14 Jan 2014 12:51:07 +0000 Subject: longparas: none of the callers check for the error case so we can safely change the return of 0xFFFF to 0 without changing any callers. Which makes this safe seeing as before now every caller would have done something stupid with the results Change-Id: I10d9f12525de10661ed82f3405e6c728d38be106 --- sfx2/source/control/thumbnailviewitem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/control/thumbnailviewitem.cxx b/sfx2/source/control/thumbnailviewitem.cxx index 9f60f37965cd..5ca236ee3ab5 100644 --- a/sfx2/source/control/thumbnailviewitem.cxx +++ b/sfx2/source/control/thumbnailviewitem.cxx @@ -323,7 +323,7 @@ void ThumbnailViewItem::addTextPrimitives (const OUString& rText, const Thumbnai // Create the text primitives sal_uInt16 nLineStart = 0; - for (sal_uInt16 i=0; i