[Libreoffice-commits] core.git: oox/source

Caolán McNamara caolanm at redhat.com
Tue Nov 11 08:16:03 PST 2014


 oox/source/drawingml/textrun.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit bd78cbd028781c27c824c52715824e3cefda6054
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Nov 11 16:15:16 2014 +0000

    build fix
    
    Change-Id: I9d4dc8a165bc042a674eb472162292a486f3761c

diff --git a/oox/source/drawingml/textrun.cxx b/oox/source/drawingml/textrun.cxx
index 1485f02..f4b75db 100644
--- a/oox/source/drawingml/textrun.cxx
+++ b/oox/source/drawingml/textrun.cxx
@@ -76,6 +76,7 @@ sal_Int32 TextRun::insertAt(
             }
             else
             {
+                OUString aSymbolFontName;
                 sal_Int16 nSymbolFontFamily = 0, nSymbolFontPitch = 0;
 
                 if ( !aTextCharacterProps.maSymbolFont.getFontData( aSymbolFontName, nSymbolFontPitch, nSymbolFontFamily, rFilterBase ) )
@@ -83,7 +84,7 @@ sal_Int32 TextRun::insertAt(
                 else if ( !getText().isEmpty() )
                 {
                     // #i113673
-                    OUString aLatinFontName, aSymbolFontName;
+                    OUString aLatinFontName;
                     sal_Int16 nLatinFontPitch = 0, nLatinFontFamily = 0;
                     bool bLatinOk = aTextCharacterProps.maLatinFont.getFontData( aLatinFontName, nLatinFontPitch, nLatinFontFamily, rFilterBase );
 


More information about the Libreoffice-commits mailing list