Kaydet (Commit) 5cd09cc7 authored tarafından Herbert Dürr's avatar Herbert Dürr

#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.
üst a90627af
......@@ -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; }
};
//--------------------------------------------------------------------
......
......@@ -32,12 +32,3 @@
TYPEINIT1(SfxSimpleHint, SfxHint);
//====================================================================
// creates a SimpleHint with the type nId
SfxSimpleHint::SfxSimpleHint( sal_uLong nIdP )
{
nId = nIdP;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment