summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-07 08:51:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-07 08:54:41 +0100
commitc346afa762ea6f71614b82b57c142451db3b7b50 (patch)
tree69ba5e292854e6afa8bdbfe6c159b89e3fd55ddb
parent9233083e090dc8adfa36fa56552bcd3bb5a6bb2a (diff)
Resolves/Related: fdo#40449 uninitialized issymbol member variable
-rw-r--r--sw/source/core/txtnode/fntcache.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index 254fc0ac8e22..6957230c48ef 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -128,6 +128,7 @@ SwFntObj::SwFntObj( const SwSubFont &rFont, const void *pOwn, ViewShell *pSh ) :
nExtLeading = USHRT_MAX;
nPrtAscent = USHRT_MAX;
nPrtHeight = USHRT_MAX;
+ bSymbol = RTL_TEXTENCODING_SYMBOL == aFont.GetCharSet();
bPaintBlank = ( UNDERLINE_NONE != aFont.GetUnderline()
|| UNDERLINE_NONE != aFont.GetOverline()
|| STRIKEOUT_NONE != aFont.GetStrikeout() )