Author: hdu Date: Tue Nov 26 09:00:15 2013 New Revision: 1545571 URL: http://svn.apache.org/r1545571 Log: #i123753# WaE: fix unoedhlp.hxx declaration of 'nId' shadowing a member of SimpleHint
Happy new times: Now even simple compiler warning fixes need their own issue. Modified: openoffice/trunk/main/svl/inc/svl/smplhint.hxx openoffice/trunk/main/svl/source/notify/smplhint.cxx Modified: openoffice/trunk/main/svl/inc/svl/smplhint.hxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svl/inc/svl/smplhint.hxx?rev=1545571&r1=1545570&r2=1545571&view=diff ============================================================================== --- openoffice/trunk/main/svl/inc/svl/smplhint.hxx (original) +++ openoffice/trunk/main/svl/inc/svl/smplhint.hxx Tue Nov 26 09:00:15 2013 @@ -64,11 +64,11 @@ class SVL_DLLPUBLIC SfxSimpleHint: public SfxHint { private: - sal_uLong nId; + sal_uLong mnId; public: TYPEINFO(); - SfxSimpleHint( sal_uLong nId ); - sal_uLong GetId() const { return nId; } + SfxSimpleHint( sal_uLong nId ) { mnId = nId; } + sal_uLong GetId() const { return mnId; } }; //-------------------------------------------------------------------- Modified: openoffice/trunk/main/svl/source/notify/smplhint.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svl/source/notify/smplhint.cxx?rev=1545571&r1=1545570&r2=1545571&view=diff ============================================================================== --- openoffice/trunk/main/svl/source/notify/smplhint.cxx (original) +++ openoffice/trunk/main/svl/source/notify/smplhint.cxx Tue Nov 26 09:00:15 2013 @@ -32,12 +32,3 @@ TYPEINIT1(SfxSimpleHint, SfxHint); -//==================================================================== -// creates a SimpleHint with the type nId - -SfxSimpleHint::SfxSimpleHint( sal_uLong nIdP ) -{ - nId = nIdP; -} - -