summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/textrun.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-06-12 23:18:17 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-06-12 23:18:17 +0200
commit5d54fc918fc63c9ac844c6d02df45daa2a86f993 (patch)
tree24dd829737935e967dafa345dbd685db9aa0cb69 /oox/source/drawingml/textrun.cxx
parent5cfb91df40675d81131200d8cce918ae108efb31 (diff)
Some cppcheck cleaning+1TODO (func not implemented)
Diffstat (limited to 'oox/source/drawingml/textrun.cxx')
-rw-r--r--oox/source/drawingml/textrun.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/textrun.cxx b/oox/source/drawingml/textrun.cxx
index 843c1a62f562..3c5b99c419fd 100644
--- a/oox/source/drawingml/textrun.cxx
+++ b/oox/source/drawingml/textrun.cxx
@@ -83,13 +83,13 @@ sal_Int32 TextRun::insertAt(
else
{
OUString aLatinFontName, aSymbolFontName;
- sal_Int16 nLatinFontPitch = 0, nSymbolFontPitch = 0;
- sal_Int16 nLatinFontFamily = 0, nSymbolFontFamily = 0;
+ sal_Int16 nSymbolFontFamily = 0, nSymbolFontPitch = 0;
if ( !aTextCharacterProps.maSymbolFont.getFontData( aSymbolFontName, nSymbolFontPitch, nSymbolFontFamily, rFilterBase ) )
xText->insertString( xStart, getText(), sal_False );
else if ( getText().getLength() )
{ // !!#i113673<<<
+ sal_Int16 nLatinFontPitch = 0, nLatinFontFamily = 0;
aTextCharacterProps.maLatinFont.getFontData( aLatinFontName, nLatinFontPitch, nLatinFontFamily, rFilterBase );
sal_Int32 nIndex = 0;