summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/fontcvt.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2004-01-06 12:37:42 +0000
committerVladimir Glazounov <vg@openoffice.org>2004-01-06 12:37:42 +0000
commitdce0ed52b1970c51338b39a8e873b63be7b58e0a (patch)
treeec5df6f1fd2d1c6e367fb8b55f48995f836cde4e /vcl/source/gdi/fontcvt.cxx
parent0c5ef6140dba9c07472fe6402a62178e7f856bec (diff)
INTEGRATION: CWS vclcleanup02 (1.13.348); FILE MERGED
2003/12/16 18:15:18 mt 1.13.348.1: #i23061# And more cleanups...
Diffstat (limited to 'vcl/source/gdi/fontcvt.cxx')
-rw-r--r--vcl/source/gdi/fontcvt.cxx25
1 files changed, 6 insertions, 19 deletions
diff --git a/vcl/source/gdi/fontcvt.cxx b/vcl/source/gdi/fontcvt.cxx
index 682987a5b8b5..c928daf86e1f 100644
--- a/vcl/source/gdi/fontcvt.cxx
+++ b/vcl/source/gdi/fontcvt.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fontcvt.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: cmc $ $Date: 2002-06-10 11:06:06 $
+ * last change: $Author: vg $ $Date: 2004-01-06 13:37:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -67,16 +67,16 @@
#include <outdev.h>
#endif
-#ifndef __SGI_STL_MAP
+#ifndef _STLP_MAP
#include <map>
#endif
-#ifndef __SGI_STL_VECTOR
+#ifndef _STLP_VECTOR
#include <vector>
#endif
-#ifndef __SGI_STL_ALGORITHM
+#ifndef _STLP_ALGORITHM
#include <algorithm>
#endif
-#ifndef __SGI_STL_FUNCTIONAL
+#ifndef _STLP_FUNCTIONAL
#include <functional>
#endif
@@ -1233,13 +1233,9 @@ StarSymbolToMSMultiFontImpl::StarSymbolToMSMultiFontImpl(bool bPerfectOnly)
for (aEntry.cIndex = 0xFF; aEntry.cIndex >= 0x20; --aEntry.cIndex)
{
if (sal_Unicode cChar = r.pTab[aEntry.cIndex-0x20])
-#if 1
maMagicMap.insert(
::std::multimap<sal_Unicode, SymbolEntry>::value_type(
cChar, aEntry));
-#else
- maMagicMap.insert(::std::make_pair(cChar, aEntry));
-#endif
}
}
@@ -1270,14 +1266,9 @@ StarSymbolToMSMultiFontImpl::StarSymbolToMSMultiFontImpl(bool bPerfectOnly)
for (int j = r.mnSize / sizeof(r.mpTable[0]); j >=0; --j)
{
aEntry.cIndex = r.mpTable[j].cMS;
-#if 1
maMagicMap.insert(
::std::multimap<sal_Unicode, SymbolEntry>::value_type(
r.mpTable[j].cStar, aEntry));
-#else
- maMagicMap.insert(::std::make_pair(r.mpTable[j].cStar,aEntry));
-#endif
-
}
}
}
@@ -1317,11 +1308,7 @@ String StarSymbolToMSMultiFontImpl::ConvertChar(sal_Unicode &rChar)
String StarSymbolToMSMultiFontImpl::ConvertString(String &rString,
xub_StrLen& rIndex)
{
-#if 1
typedef ::std::multimap<sal_Unicode, SymbolEntry>::iterator MI;
-#else
- typedef ::std::multimap<sal_Unicode, SymbolEntry>::const_iterator MI;
-#endif
typedef ::std::pair<MI, MI> Result;
String sRet;