summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8num.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-01-26 15:36:50 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2011-01-26 15:38:18 +0100
commit50326ea354a5500647dfc598ba4d8e5c96eb69d4 (patch)
treedc9a953aca3e9564ea22f50d20916f01d7e7d83d /sw/source/filter/ww8/wrtw8num.cxx
parent626e42e93930ac6e6489f5f3b38e68d5ccd48f25 (diff)
MSWordExportBase::SupportsUnicode(): renamed from HackIsWW8OrHigher
That mathod is basically used to determine if unicode is allowed to be used during the export, but the old names wasn't that meaningful. Suggested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/filter/ww8/wrtw8num.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8num.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtw8num.cxx b/sw/source/filter/ww8/wrtw8num.cxx
index 2b1b38a50432..9b934423bfbb 100644
--- a/sw/source/filter/ww8/wrtw8num.cxx
+++ b/sw/source/filter/ww8/wrtw8num.cxx
@@ -468,7 +468,7 @@ void MSWordExportBase::AbstractNumberingDefinitions()
sFontName = pBulletFont->GetName();
pPseudoFont = new wwFont( sFontName, pBulletFont->GetPitch(),
- eFamily, eChrSet, HackIsWW8OrHigher() );
+ eFamily, eChrSet, SupportsUnicode() );
}
else
pOutSet = &rFmt.GetCharFmt()->GetAttrSet();
@@ -738,7 +738,7 @@ void MSWordExportBase::SubstituteBullet( String& rNumStr,
rFontName = sFont;
rChrSet = RTL_TEXTENCODING_SYMBOL;
}
- else if ( HackIsWW8OrHigher() &&
+ else if ( SupportsUnicode() &&
(rNumStr.GetChar(0) < 0xE000 || rNumStr.GetChar(0) > 0xF8FF) )
{
/*