diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2011-05-21 14:16:27 -0430 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-05-22 21:17:17 -0700 |
commit | b1729a81f4d52d930e3a2176787880b49f89c0ce (patch) | |
tree | b22f49246ab4424fa5fd50e8ad4db7576c28f32a /svl | |
parent | e263e48bdb3df9a83259f1ba348783917df9e7e1 (diff) |
Move GetList to implementation file.
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/slstitm.hxx | 3 | ||||
-rw-r--r-- | svl/source/items/slstitm.cxx | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/svl/inc/svl/slstitm.hxx b/svl/inc/svl/slstitm.hxx index c758bb5f9ccb..64f0b4802906 100644 --- a/svl/inc/svl/slstitm.hxx +++ b/svl/inc/svl/slstitm.hxx @@ -52,8 +52,7 @@ public: List * GetList(); - const List * GetList() const - { return SAL_CONST_CAST(SfxStringListItem *, this)->GetList(); } + const List * GetList() const; #ifndef TF_POOLABLE virtual int IsPoolable() const; diff --git a/svl/source/items/slstitm.cxx b/svl/source/items/slstitm.cxx index 455f93e5a197..933b3e6c8187 100644 --- a/svl/source/items/slstitm.cxx +++ b/svl/source/items/slstitm.cxx @@ -198,6 +198,11 @@ List* SfxStringListItem::GetList() return &(pImp->aList); } +const List* SfxStringListItem::GetList () const +{ + return SAL_CONST_CAST(SfxStringListItem *, this)->GetList(); +} + //------------------------------------------------------------------------ int SfxStringListItem::operator==( const SfxPoolItem& rItem ) const |