Bugzilla – Attachment 75311 Details for
Bug 56110
re-write stream operators to methods
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Step 2 of my proposed process
56110-deprecation.patch (text/plain), 4.96 KB, created by
Christopher Hotchkiss
on 2013-02-22 12:45:32 UTC
(
hide
)
Description:
Step 2 of my proposed process
Filename:
MIME Type:
Creator:
Christopher Hotchkiss
Created:
2013-02-22 12:45:32 UTC
Size:
4.96 KB
patch
obsolete
>diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx >index 23d4a04..ae6fef0 100644 >--- a/tools/inc/tools/stream.hxx >+++ b/tools/inc/tools/stream.hxx >@@ -20,6 +20,7 @@ > #define _STREAM_HXX > > #include <limits> >+#include <sal/types.h> > #include "tools/toolsdllapi.h" > #include <tools/solar.h> > #include <tools/string.hxx> >@@ -303,37 +304,37 @@ public: > { eLineDelimiter = eLineEnd; } > LineEnd GetLineDelimiter() const { return eLineDelimiter; } > >- SvStream& operator>>( sal_uInt16& rUInt16 ); >- SvStream& operator>>( sal_uInt32& rUInt32 ); >- SvStream& operator>>( sal_uInt64& rUInt64 ); >- SvStream& operator>>( sal_Int16& rInt16 ); >- SvStream& operator>>( sal_Int32& rInt32 ); >- SvStream& operator>>( sal_Int64& rInt64 ); >- >- SvStream& operator>>( signed char& rChar ); >- SvStream& operator>>( char& rChar ); >- SvStream& operator>>( unsigned char& rChar ); >- SvStream& operator>>( float& rFloat ); >- SvStream& operator>>( double& rDouble ); >- SvStream& operator>>( SvStream& rStream ); >- >- SvStream& operator<<( sal_uInt16 nUInt16 ); >- SvStream& operator<<( sal_uInt32 nUInt32 ); >- SvStream& operator<<( sal_uInt64 nuInt64 ); >- SvStream& operator<<( sal_Int16 nInt16 ); >- SvStream& operator<<( sal_Int32 nInt32 ); >- SvStream& operator<<( sal_Int64 nInt64 ); >- >- SvStream& operator<<( bool b ) >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator>>( sal_uInt16& rUInt16 ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator>>( sal_uInt32& rUInt32 ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator>>( sal_uInt64& rUInt64 ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator>>( sal_Int16& rInt16 ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator>>( sal_Int32& rInt32 ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator>>( sal_Int64& rInt64 ); >+ >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator>>( signed char& rChar ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator>>( char& rChar ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator>>( unsigned char& rChar ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator>>( float& rFloat ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator>>( double& rDouble ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator>>( SvStream& rStream ); >+ >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( sal_uInt16 nUInt16 ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( sal_uInt32 nUInt32 ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( sal_uInt64 nuInt64 ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( sal_Int16 nInt16 ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( sal_Int32 nInt32 ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( sal_Int64 nInt64 ); >+ >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( bool b ) > { return operator<<(static_cast< sal_Bool >(b)); } >- SvStream& operator<<( signed char nChar ); >- SvStream& operator<<( char nChar ); >- SvStream& operator<<( unsigned char nChar ); >- SvStream& operator<<( float nFloat ); >- SvStream& operator<<( const double& rDouble ); >- SvStream& operator<<( const char* pBuf ); >- SvStream& operator<<( const unsigned char* pBuf ); >- SvStream& operator<<( SvStream& rStream ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( signed char nChar ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( char nChar ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( unsigned char nChar ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( float nFloat ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( const double& rDouble ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( const char* pBuf ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( const unsigned char* pBuf ); >+ SAL_DEPRECATED("Being removed as part of bug 56110") SvStream& operator<<( SvStream& rStream ); > > SvStream& WriteNumber( sal_uInt32 nUInt32 ); > SvStream& WriteNumber( sal_Int32 nInt32 );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 56110
: 75311