Kaydet (Commit) 78b28312 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

use enum right away

Change-Id: I6a9469e9fde9a22c7a1c83c7e98e047a2db583bf
üst f863f709
......@@ -109,7 +109,7 @@ class SwXStyleFamily : public cppu::WeakImplHelper
SwXStyle* _FindStyle(const OUString& rStyleName) const;
public:
SwXStyleFamily(SwDocShell* pDocShell, sal_uInt16 nFamily);
SwXStyleFamily(SwDocShell* pDocShell, const SfxStyleFamily eFamily);
virtual ~SwXStyleFamily();
//XIndexAccess
......
......@@ -290,8 +290,8 @@ public:
SwDoc* getDoc() const { return pDoc; }
};
SwXStyleFamily::SwXStyleFamily(SwDocShell* pDocSh, sal_uInt16 nFamily) :
m_eFamily((SfxStyleFamily)nFamily),
SwXStyleFamily::SwXStyleFamily(SwDocShell* pDocSh, const SfxStyleFamily eFamily) :
m_eFamily(eFamily),
m_pBasePool(pDocSh->GetStyleSheetPool()),
m_pDocShell(pDocSh)
{
......
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