diff options
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; -} - - |