diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-07-03 08:22:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-07-03 08:24:09 +0200 |
commit | f36e64d8cc4a2fce8d84ef464a482445a8b8540a (patch) | |
tree | bb3934252107a275cd33cfb756e4b7042c9e55b7 /svx/source/xoutdev | |
parent | 6c4e21a234f12e1310ba06f9859e08b424acf8bf (diff) |
Avoid null this pointers in member function calls
Change-Id: Iada6d8fcd261ddfb02b4dbc2f628ef0738c4ea01
Diffstat (limited to 'svx/source/xoutdev')
-rw-r--r-- | svx/source/xoutdev/xtabcolr.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/xoutdev/xtabcolr.cxx b/svx/source/xoutdev/xtabcolr.cxx index d70a4fbcdb5e..85c3b4ff1635 100644 --- a/svx/source/xoutdev/xtabcolr.cxx +++ b/svx/source/xoutdev/xtabcolr.cxx @@ -29,8 +29,9 @@ using namespace com::sun::star; XColorListRef XColorList::CreateStdColorList() { - return XPropertyList::CreatePropertyList( - XCOLOR_LIST, SvtPathOptions().GetPalettePath(), "" )->AsColorList(); + return XPropertyList::AsColorList( + XPropertyList::CreatePropertyList( + XCOLOR_LIST, SvtPathOptions().GetPalettePath(), "")); } XColorListRef XColorList::GetStdColorList() |