Kaydet (Commit) d429ea8a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unnecessary typedef (that introduced a reserved identifier)

Change-Id: I6c0aaac10b2244271f3cdf45f4eceb6d685b213c
üst 201812ee
...@@ -72,7 +72,7 @@ sd::LeftDrawPaneShell::RegisterInterface(SfxModule*) ...@@ -72,7 +72,7 @@ sd::LeftDrawPaneShell::RegisterInterface(SfxModule*)
sd::LeftImpressPaneShell::RegisterInterface(SfxModule*) sd::LeftImpressPaneShell::RegisterInterface(SfxModule*)
std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >::_M_move_data(std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >&, std::integral_constant<bool, true>) std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >::_M_move_data(std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >&, std::integral_constant<bool, true>)
std::__cxx1998::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread>, std::allocator<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread> > >::reserve(unsigned long) std::__cxx1998::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread>, std::allocator<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread> > >::reserve(unsigned long)
vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool) vcl::MapChar(vcl::TrueTypeFont*, unsigned short, bool)
vcl::Region::IsInside(Rectangle const&) const vcl::Region::IsInside(Rectangle const&) const
vcl::RenderSettings::PushAndApply(OutputDevice&) vcl::RenderSettings::PushAndApply(OutputDevice&)
vcl::Window::DrawGradientWallpaper(OutputDevice&, long, long, long, long, Wallpaper const&) vcl::Window::DrawGradientWallpaper(OutputDevice&, long, long, long, long, Wallpaper const&)
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "salglyphid.hxx" #include "salglyphid.hxx"
namespace vcl { struct _TrueTypeFont; } ///< SFT's idea of a TTF font namespace vcl { struct TrueTypeFont; } ///< SFT's idea of a TTF font
class FontSubsetInfo class FontSubsetInfo
{ {
...@@ -49,7 +49,7 @@ public: ...@@ -49,7 +49,7 @@ public:
bool LoadFont( FontType eInFontType, bool LoadFont( FontType eInFontType,
const unsigned char* pFontBytes, int nByteLength ); const unsigned char* pFontBytes, int nByteLength );
bool LoadFont( vcl::_TrueTypeFont* pSftTrueTypeFont ); bool LoadFont( vcl::TrueTypeFont* pSftTrueTypeFont );
bool CreateFontSubset( int nOutFontTypeMask, bool CreateFontSubset( int nOutFontTypeMask,
FILE* pOutFile, const char* pOutFontName, FILE* pOutFile, const char* pOutFontName,
...@@ -70,7 +70,7 @@ private: ...@@ -70,7 +70,7 @@ private:
unsigned const char* mpInFontBytes; unsigned const char* mpInFontBytes;
int mnInByteLength; int mnInByteLength;
FontType meInFontType; ///< allowed mask of input font-types FontType meInFontType; ///< allowed mask of input font-types
vcl::_TrueTypeFont* mpSftTTFont; vcl::TrueTypeFont* mpSftTTFont;
// subset-request details // subset-request details
int mnReqFontTypeMask; ///< allowed subset-target font types int mnReqFontTypeMask; ///< allowed subset-target font types
......
...@@ -100,7 +100,7 @@ namespace vcl ...@@ -100,7 +100,7 @@ namespace vcl
FWIDTH_ULTRA_EXPANDED = 9 /**< 200% of normal */ FWIDTH_ULTRA_EXPANDED = 9 /**< 200% of normal */
}; };
/** Type of the 'kern' table, stored in _TrueTypeFont::kerntype */ /** Type of the 'kern' table, stored in TrueTypeFont::kerntype */
enum KernType { enum KernType {
KT_NONE = 0, /**< no kern table */ KT_NONE = 0, /**< no kern table */
KT_APPLE_NEW = 1, /**< new Apple kern table */ KT_APPLE_NEW = 1, /**< new Apple kern table */
...@@ -226,7 +226,7 @@ namespace vcl ...@@ -226,7 +226,7 @@ namespace vcl
sal_Int16 y; /**< Y coordinate in EmSquare units */ sal_Int16 y; /**< Y coordinate in EmSquare units */
} ControlPoint; } ControlPoint;
typedef struct _TrueTypeFont TrueTypeFont; struct TrueTypeFont;
/** /**
* @defgroup sft Sun Font Tools Exported Functions * @defgroup sft Sun Font Tools Exported Functions
...@@ -520,7 +520,7 @@ namespace vcl ...@@ -520,7 +520,7 @@ namespace vcl
/*- private definitions */ /*- private definitions */
struct _TrueTypeFont { struct TrueTypeFont {
sal_uInt32 tag; sal_uInt32 tag;
char *fname; char *fname;
...@@ -550,7 +550,7 @@ namespace vcl ...@@ -550,7 +550,7 @@ namespace vcl
void *pGSubstitution; /* info provided by GSUB for UseGSUB() */ void *pGSubstitution; /* info provided by GSUB for UseGSUB() */
}; };
/* indexes into _TrueTypeFont::tables[] and _TrueTypeFont::tlens[] */ /* indexes into TrueTypeFont::tables[] and TrueTypeFont::tlens[] */
#define O_maxp 0 /* 'maxp' */ #define O_maxp 0 /* 'maxp' */
#define O_glyf 1 /* 'glyf' */ #define O_glyf 1 /* 'glyf' */
#define O_head 2 /* 'head' */ #define O_head 2 /* 'head' */
......
...@@ -59,7 +59,7 @@ bool FontSubsetInfo::LoadFont( ...@@ -59,7 +59,7 @@ bool FontSubsetInfo::LoadFont(
} }
// prepare subsetting for fonts that are known to the SFT-parser // prepare subsetting for fonts that are known to the SFT-parser
bool FontSubsetInfo::LoadFont( vcl::_TrueTypeFont* pSftTTFont ) bool FontSubsetInfo::LoadFont( vcl::TrueTypeFont* pSftTTFont )
{ {
DBG_ASSERT( (mpInFontBytes == nullptr), "Subset from SFT and from mapped font-file requested"); DBG_ASSERT( (mpInFontBytes == nullptr), "Subset from SFT and from mapped font-file requested");
mpSftTTFont = pSftTTFont; mpSftTTFont = pSftTTFont;
......
...@@ -50,7 +50,7 @@ inline sal_uInt16 NEXT_UShort( const unsigned char* &p ) ...@@ -50,7 +50,7 @@ inline sal_uInt16 NEXT_UShort( const unsigned char* &p )
#define MKTAG(s) ((((((s[0]<<8)+s[1])<<8)+s[2])<<8)+s[3]) #define MKTAG(s) ((((((s[0]<<8)+s[1])<<8)+s[2])<<8)+s[3])
bool ReadGSUB( struct _TrueTypeFont* pTTFile, bool ReadGSUB( struct TrueTypeFont* pTTFile,
int nRequestedScript, int nRequestedLangsys ) int nRequestedScript, int nRequestedLangsys )
{ {
const FT_Byte* pGsubBase = pTTFile->tables[ O_gsub ]; const FT_Byte* pGsubBase = pTTFile->tables[ O_gsub ];
...@@ -315,13 +315,13 @@ bool ReadGSUB( struct _TrueTypeFont* pTTFile, ...@@ -315,13 +315,13 @@ bool ReadGSUB( struct _TrueTypeFont* pTTFile,
return true; return true;
} }
void ReleaseGSUB(struct _TrueTypeFont* pTTFile) void ReleaseGSUB(struct TrueTypeFont* pTTFile)
{ {
GlyphSubstitution* pGlyphSubstitution = static_cast<GlyphSubstitution*>(pTTFile->pGSubstitution); GlyphSubstitution* pGlyphSubstitution = static_cast<GlyphSubstitution*>(pTTFile->pGSubstitution);
delete pGlyphSubstitution; delete pGlyphSubstitution;
} }
int UseGSUB( struct _TrueTypeFont* pTTFile, int nGlyph ) int UseGSUB( struct TrueTypeFont* pTTFile, int nGlyph )
{ {
GlyphSubstitution* pGlyphSubstitution = static_cast<GlyphSubstitution*>(pTTFile->pGSubstitution); GlyphSubstitution* pGlyphSubstitution = static_cast<GlyphSubstitution*>(pTTFile->pGSubstitution);
if( pGlyphSubstitution != nullptr ) if( pGlyphSubstitution != nullptr )
...@@ -334,7 +334,7 @@ int UseGSUB( struct _TrueTypeFont* pTTFile, int nGlyph ) ...@@ -334,7 +334,7 @@ int UseGSUB( struct _TrueTypeFont* pTTFile, int nGlyph )
return nGlyph; return nGlyph;
} }
int HasVerticalGSUB( struct _TrueTypeFont* pTTFile ) int HasVerticalGSUB( struct TrueTypeFont* pTTFile )
{ {
GlyphSubstitution* pGlyphSubstitution = static_cast<GlyphSubstitution*>(pTTFile->pGSubstitution); GlyphSubstitution* pGlyphSubstitution = static_cast<GlyphSubstitution*>(pTTFile->pGSubstitution);
return pGlyphSubstitution ? +1 : 0; return pGlyphSubstitution ? +1 : 0;
......
...@@ -23,13 +23,13 @@ ...@@ -23,13 +23,13 @@
namespace vcl namespace vcl
{ {
int HasVerticalGSUB( struct vcl::_TrueTypeFont* pTTFile ); int HasVerticalGSUB( struct vcl::TrueTypeFont* pTTFile );
int UseGSUB( struct vcl::_TrueTypeFont* pTTFile, int nGlyph ); int UseGSUB( struct vcl::TrueTypeFont* pTTFile, int nGlyph );
bool ReadGSUB( struct vcl::_TrueTypeFont* pTTFile, int nRequestedScript, int nRequestedLangsys ); bool ReadGSUB( struct vcl::TrueTypeFont* pTTFile, int nRequestedScript, int nRequestedLangsys );
void ReleaseGSUB( struct vcl::_TrueTypeFont* pTTFile ); void ReleaseGSUB( struct vcl::TrueTypeFont* pTTFile );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment