summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-13 10:08:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-13 10:36:01 +0100
commit15cea705426e9c58b034a8d9ac8d1e3802b4cc74 (patch)
tree3c8fbedf0735497c07a340fbd9a069cc81060d6e /sw/source/uibase/inc
parent32675bd4f19c8a62f83f32ec3e5867f4d20755bc (diff)
no need to inherit SwOLENames from resource
Change-Id: Ie7a51c8af7834b4d59a5a94e808ccac7e63e3aa4
Diffstat (limited to 'sw/source/uibase/inc')
-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