Kaydet (Commit) c928840e authored tarafından Caolán McNamara's avatar Caolán McNamara

leave the deliberately unused, not-for-use method inline

doing so means code is not generated for it seeing as its not used, moving it
out means code is generated for it and its detected as unused code

Change-Id: I72edc89446bdfac50069e0b509fc7f90540e0d4a
üst 73207149
......@@ -274,8 +274,6 @@ public:
SfxStyleSheetBase& Add( const SfxStyleSheetBase& );
};
class SVL_DLLPUBLIC SfxStyleSheet: public SfxStyleSheetBase,
public SfxListener, public SfxBroadcaster, public svl::StyleSheetUser
{
......@@ -292,11 +290,14 @@ public:
virtual bool SetParent( const OUString& ) SAL_OVERRIDE;
protected:
SfxStyleSheet(); // do not use! needed by MSVC at compile time to satisfy ImplInheritanceHelper2
SfxStyleSheet() // do not use! needed by MSVC at compile time to satisfy ImplInheritanceHelper2
: SfxStyleSheetBase(OUString("dummy"), NULL, SFX_STYLE_FAMILY_ALL, 0)
{
assert(false);
}
virtual ~SfxStyleSheet();
};
};
class SVL_DLLPUBLIC SfxStyleSheetPool: public SfxStyleSheetBasePool
{
......
......@@ -884,12 +884,6 @@ void SfxStyleSheetBase::Store( SvStream& )
{
}
SfxStyleSheet::SfxStyleSheet() // do not use! needed by MSVC at compile time to satisfy ImplInheritanceHelper2
: SfxStyleSheetBase(OUString("dummy"), NULL, SFX_STYLE_FAMILY_ALL, 0)
{
assert(false);
}
SfxStyleSheet::SfxStyleSheet(const OUString &rName,
const SfxStyleSheetBasePool& r_Pool,
SfxStyleFamily eFam,
......
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