diff options
author | Herbert Dürr <hdu@apache.org> | 2013-11-26 09:00:15 +0000 |
---|---|---|
committer | Herbert Dürr <hdu@apache.org> | 2013-11-26 09:00:15 +0000 |
commit | 5cd09cc74da93da4c91c665822b6ab9a0d704a7a (patch) | |
tree | 8091ca10afe8fb7dad955355c93dfe93a3eea76d /svl | |
parent | a90627af85f61dd2d791098320c1a9e13dc4dbf9 (diff) |
#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.
Notes
Notes:
merged as: 22029c7e17b4cb48acb058d47ec9c3b6b8b6b294
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/smplhint.hxx | 6 | ||||
-rw-r--r-- | svl/source/notify/smplhint.cxx | 9 |
2 files changed, 3 insertions, 12 deletions
diff --git a/svl/inc/svl/smplhint.hxx b/svl/inc/svl/smplhint.hxx index da3d7125a5ac..fdf5ac97495e 100644 --- a/svl/inc/svl/smplhint.hxx +++ b/svl/inc/svl/smplhint.hxx @@ -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; } }; //-------------------------------------------------------------------- diff --git a/svl/source/notify/smplhint.cxx b/svl/source/notify/smplhint.cxx index 227174ef60d7..a582b3ab60ca 100644 --- a/svl/source/notify/smplhint.cxx +++ b/svl/source/notify/smplhint.cxx @@ -32,12 +32,3 @@ TYPEINIT1(SfxSimpleHint, SfxHint); -//==================================================================== -// creates a SimpleHint with the type nId - -SfxSimpleHint::SfxSimpleHint( sal_uLong nIdP ) -{ - nId = nIdP; -} - - |