diff options
Diffstat (limited to 'dtrans/source/win32/misc/ImplHelper.cxx')
-rw-r--r-- | dtrans/source/win32/misc/ImplHelper.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/dtrans/source/win32/misc/ImplHelper.cxx b/dtrans/source/win32/misc/ImplHelper.cxx index 356985a931f8..04ef70787539 100644 --- a/dtrans/source/win32/misc/ImplHelper.cxx +++ b/dtrans/source/win32/misc/ImplHelper.cxx @@ -44,7 +44,7 @@ // returns a windows codepage appropriate to the // given mime charset parameter value -sal_uInt32 SAL_CALL getWinCPFromMimeCharset( const OUString& charset ) +sal_uInt32 getWinCPFromMimeCharset( const OUString& charset ) { sal_uInt32 winCP = GetACP( ); @@ -74,7 +74,7 @@ sal_uInt32 SAL_CALL getWinCPFromMimeCharset( const OUString& charset ) // returns a windows codepage appropriate to the // given locale and locale type -OUString SAL_CALL getWinCPFromLocaleId( LCID lcid, LCTYPE lctype ) +OUString getWinCPFromLocaleId( LCID lcid, LCTYPE lctype ) { OSL_ASSERT( IsValidLocale( lcid, LCID_SUPPORTED ) ); @@ -119,7 +119,7 @@ OUString SAL_CALL getWinCPFromLocaleId( LCID lcid, LCTYPE lctype ) // to the given codepage, optional a prefix can be // given, e.g. "windows-" or "cp" -OUString SAL_CALL getMimeCharsetFromWinCP( sal_uInt32 cp, const OUString& aPrefix ) +OUString getMimeCharsetFromWinCP( sal_uInt32 cp, const OUString& aPrefix ) { return aPrefix + cptostr( cp ); } @@ -128,7 +128,7 @@ OUString SAL_CALL getMimeCharsetFromWinCP( sal_uInt32 cp, const OUString& aPrefi // to the given locale id and locale type, optional a // prefix can be given, e.g. "windows-" or "cp" -OUString SAL_CALL getMimeCharsetFromLocaleId( LCID lcid, LCTYPE lctype, const OUString& aPrefix ) +OUString getMimeCharsetFromLocaleId( LCID lcid, LCTYPE lctype, const OUString& aPrefix ) { OUString charset = getWinCPFromLocaleId( lcid, lctype ); return aPrefix + charset; @@ -136,7 +136,7 @@ OUString SAL_CALL getMimeCharsetFromLocaleId( LCID lcid, LCTYPE lctype, const OU // IsOEMCP -bool SAL_CALL IsOEMCP( sal_uInt32 codepage ) +bool IsOEMCP( sal_uInt32 codepage ) { OSL_ASSERT( IsValidCodePage( codepage ) ); @@ -154,7 +154,7 @@ bool SAL_CALL IsOEMCP( sal_uInt32 codepage ) // converts a codepage into its string representation -OUString SAL_CALL cptostr( sal_uInt32 codepage ) +OUString cptostr( sal_uInt32 codepage ) { OSL_ASSERT( IsValidCodePage( codepage ) ); @@ -169,7 +169,7 @@ OUString SAL_CALL cptostr( sal_uInt32 codepage ) // // Return Value: // SCODE - S_OK if successful -void SAL_CALL DeleteTargetDevice( DVTARGETDEVICE* ptd ) +void DeleteTargetDevice( DVTARGETDEVICE* ptd ) { __try { @@ -196,7 +196,7 @@ void SAL_CALL DeleteTargetDevice( DVTARGETDEVICE* ptd ) // pointer to allocated copy of ptdSrc // if ptdSrc==NULL then returns NULL is returned. // if ptdSrc!=NULL and memory allocation fails, then NULL is returned -DVTARGETDEVICE* SAL_CALL CopyTargetDevice( DVTARGETDEVICE* ptdSrc ) +DVTARGETDEVICE* CopyTargetDevice( DVTARGETDEVICE* ptdSrc ) { DVTARGETDEVICE* ptdDest = nullptr; @@ -238,7 +238,7 @@ DVTARGETDEVICE* SAL_CALL CopyTargetDevice( DVTARGETDEVICE* ptdSrc ) // returns TRUE if copy was successful; // returns FALSE if not successful, e.g. one or both of the pointers // were invalid or the pointers were equal -bool SAL_CALL CopyFormatEtc( LPFORMATETC petcDest, LPFORMATETC petcSrc ) +bool CopyFormatEtc( LPFORMATETC petcDest, LPFORMATETC petcSrc ) { bool bRet = false; @@ -274,7 +274,7 @@ bool SAL_CALL CopyFormatEtc( LPFORMATETC petcDest, LPFORMATETC petcSrc ) // -1 for partial match (which is defined to mean the left is a subset // of the right: fewer aspects, null target device, fewer medium). -sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC* pFetcRhs ) +sal_Int32 CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC* pFetcRhs ) { sal_Int32 nMatch = FORMATETC_EXACT_MATCH; @@ -326,7 +326,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC* return nMatch; } -bool SAL_CALL CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE const * ptdRight ) +bool CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE const * ptdRight ) { bool bRet = false; |