summaryrefslogtreecommitdiff
path: root/vcl/win/dtrans/ImplHelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/win/dtrans/ImplHelper.hxx')
-rw-r--r--vcl/win/dtrans/ImplHelper.hxx22
1 files changed, 9 insertions, 13 deletions
diff --git a/vcl/win/dtrans/ImplHelper.hxx b/vcl/win/dtrans/ImplHelper.hxx
index fbe2c7ae70e5..ffc160602e7a 100644
--- a/vcl/win/dtrans/ImplHelper.hxx
+++ b/vcl/win/dtrans/ImplHelper.hxx
@@ -23,7 +23,7 @@
#include <rtl/ustring.hxx>
#if !defined WIN32_LEAN_AND_MEAN
-# define WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#include <objidl.h>
@@ -31,8 +31,8 @@
// target device and formatetc helper
void DeleteTargetDevice(DVTARGETDEVICE* ptd);
bool CopyFormatEtc(LPFORMATETC petcDest, LPFORMATETC petcSrc);
-sal_Int32 CompareFormatEtc( const FORMATETC* pFetcLeft, const FORMATETC* pFetcRight);
-bool CompareTargetDevice(DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE const * ptdRight);
+sal_Int32 CompareFormatEtc(const FORMATETC* pFetcLeft, const FORMATETC* pFetcRight);
+bool CompareTargetDevice(DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE const* ptdRight);
DVTARGETDEVICE* CopyTargetDevice(DVTARGETDEVICE* ptdSrc);
// some codepage helper functions
@@ -40,35 +40,31 @@ DVTARGETDEVICE* CopyTargetDevice(DVTARGETDEVICE* ptdSrc);
// returns a windows codepage appropriate to the
// given mime charset parameter value
-sal_uInt32 getWinCPFromMimeCharset(
- const OUString& charset );
+sal_uInt32 getWinCPFromMimeCharset(const OUString& charset);
// returns a windows codepage appropriate to the
// given locale and locale type
-OUString getWinCPFromLocaleId(
- LCID lcid, LCTYPE lctype );
+OUString getWinCPFromLocaleId(LCID lcid, LCTYPE lctype);
// returns a mime charset parameter value appropriate
// to the given codepage, optional a prefix can be
// given, e.g. "windows-" or "cp"
-OUString getMimeCharsetFromWinCP(
- sal_uInt32 cp, const OUString& aPrefix );
+OUString getMimeCharsetFromWinCP(sal_uInt32 cp, const OUString& aPrefix);
// returns a mime charset parameter value appropriate
// to the given locale id and locale type, optional a
// prefix can be given, e.g. "windows-" or "cp"
-OUString getMimeCharsetFromLocaleId(
- LCID lcid, LCTYPE lctype, const OUString& aPrefix );
+OUString getMimeCharsetFromLocaleId(LCID lcid, LCTYPE lctype, const OUString& aPrefix);
// returns true, if a given codepage is an oem codepage
-bool IsOEMCP( sal_uInt32 codepage );
+bool IsOEMCP(sal_uInt32 codepage);
// converts a codepage into a string representation
-OUString cptostr( sal_uInt32 codepage );
+OUString cptostr(sal_uInt32 codepage);
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */