From ab5973ab5c1fdc609fab16552652823517cea2c4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 1 Dec 2010 15:33:06 +0000 Subject: cppcheck: can reduce the scope of this variable --- svx/source/customshapes/EnhancedCustomShapeFontWork.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/customshapes/EnhancedCustomShapeFontWork.cxx') diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx index f1e8a25d2604..3ad3f9f1d097 100644 --- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx @@ -241,9 +241,9 @@ void GetTextAreaOutline( const FWData& rFWData, const SdrObject* pCustomShape, F if ( xBI.is() ) { nScriptType = xBI->getScriptType( rText, 0 ); - sal_uInt16 nChg = 0; if( i18n::ScriptType::WEAK == nScriptType ) { + sal_uInt16 nChg = 0; nChg = (xub_StrLen)xBI->endOfScript( rText, nChg, nScriptType ); if( nChg < rText.getLength() ) nScriptType = xBI->getScriptType( rText, nChg ); -- cgit i/cg-4.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/icon-themes/breeze/cmd/sc_circlepie.png
AgeCommit message (Expand)Author