diff options
Diffstat (limited to 'svtools/bmpmaker/bmpcore.hxx')
-rw-r--r-- | svtools/bmpmaker/bmpcore.hxx | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/svtools/bmpmaker/bmpcore.hxx b/svtools/bmpmaker/bmpcore.hxx index b5d0c2919c75..ca0b76f1e17b 100644 --- a/svtools/bmpmaker/bmpcore.hxx +++ b/svtools/bmpmaker/bmpcore.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -35,18 +35,18 @@ #include <vector> // -------------- -// - Exit codes - +// - Exit codes - // -------------- -#define EXIT_NOERROR 0 -#define EXIT_MISSING_BITMAP 1 -#define EXIT_NOSRSFILE 2 -#define EXIT_NOIMGLIST 3 -#define EXIT_DIMENSIONERROR 4 -#define EXIT_IOERROR 5 -#define EXIT_COMMONERROR 6 -#define EXIT_MISSING_RESOURCE 7 -#define EXIT_COLORDEPTHERROR 8 +#define EXIT_NOERROR 0 +#define EXIT_MISSING_BITMAP 1 +#define EXIT_NOSRSFILE 2 +#define EXIT_NOIMGLIST 3 +#define EXIT_DIMENSIONERROR 4 +#define EXIT_IOERROR 5 +#define EXIT_COMMONERROR 6 +#define EXIT_MISSING_RESOURCE 7 +#define EXIT_COLORDEPTHERROR 8 #define EXIT_MISSING_SOLARSRC_ENV 9 // ------------ @@ -56,7 +56,7 @@ struct LangInfo { char maLangDir[ 257 ]; - USHORT mnLangNum; + USHORT mnLangNum; }; // -------------- @@ -67,17 +67,17 @@ class BmpCreator { private: - Bitmap aOutBmp; - Size aOneSize; - Size aTotSize; - Point aPos; - SvFileStream* pSRS; - ULONG nTotCount; - USHORT nPos; - - void ImplCreate( const ::std::vector< DirEntry >& rInDirs, - const DirEntry& rOut, - const String& rName, + Bitmap aOutBmp; + Size aOneSize; + Size aTotSize; + Point aPos; + SvFileStream* pSRS; + ULONG nTotCount; + USHORT nPos; + + void ImplCreate( const ::std::vector< DirEntry >& rInDirs, + const DirEntry& rOut, + const String& rName, const LangInfo& rLang ); protected: @@ -89,9 +89,9 @@ public: BmpCreator(); virtual ~BmpCreator(); - void Create( const String& rSRSName, + void Create( const String& rSRSName, const ::std::vector< String >& rInDirs, - const String& rOutName, + const String& rOutName, const LangInfo& rLang ); }; |