summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/cnttab.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/cnttab.hxx')
-rw-r--r--sw/source/uibase/inc/cnttab.hxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/sw/source/uibase/inc/cnttab.hxx b/sw/source/uibase/inc/cnttab.hxx
index e81d0f276b33..d9c63a78ba03 100644
--- a/sw/source/uibase/inc/cnttab.hxx
+++ b/sw/source/uibase/inc/cnttab.hxx
@@ -64,19 +64,16 @@ struct CurTOXType
CurTOXType (TOXTypes t) : eType (t), nIndex (0) {};
};
-class SwOLENames : public Resource
+class SwOLENames
{
- ResStringArray aNamesAry;
+ ResStringArray aNamesAry;
public:
- SwOLENames(const ResId& rResId) :
- Resource(rResId),
- aNamesAry(ResId(1,*rResId.GetResMgr()))
+ SwOLENames(const ResId& rResId)
+ : aNamesAry(rResId)
{
- FreeResource();
}
- ResStringArray& GetNames() { return aNamesAry;}
-
+ ResStringArray& GetNames() { return aNamesAry;}
};
#endif