summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoctabl.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-11-23 19:17:30 +0100
committerJulien Nabet <serval2412@yahoo.fr>2019-11-24 00:26:41 +0100
commitd002d3e8c241f32ac931c1998d7820d5b7b97e64 (patch)
treea778febf2445f86359f66e80d40b16d2f8f07e83 /svx/source/unodraw/unoctabl.cxx
parentdebb38c7be8015b4de4aace6f8ac78e4ee2fbfa6 (diff)
cppcheck: performing init in init list (sot/svl/svtools/svx)
order had been changed in svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx so initialization list was fine Indeed mpActLineDistFld depends on mpLineDistAtMetricBox Change-Id: I974e68892fe7ab900774bbe912c51ec56ba4ee43 Reviewed-on: https://gerrit.libreoffice.org/83577 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svx/source/unodraw/unoctabl.cxx')
-rw-r--r--svx/source/unodraw/unoctabl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/unodraw/unoctabl.cxx b/svx/source/unodraw/unoctabl.cxx
index a6fa3f74f316..ec338a7d033b 100644
--- a/svx/source/unodraw/unoctabl.cxx
+++ b/svx/source/unodraw/unoctabl.cxx
@@ -63,10 +63,10 @@ public:
};
SvxUnoColorTable::SvxUnoColorTable()
+ : pList(XPropertyList::AsColorList(
+ XPropertyList::CreatePropertyList(
+ XPropertyListType::Color, SvtPathOptions().GetPalettePath(), "")))
{
- pList = XPropertyList::AsColorList(
- XPropertyList::CreatePropertyList(
- XPropertyListType::Color, SvtPathOptions().GetPalettePath(), ""));
}
sal_Bool SAL_CALL SvxUnoColorTable::supportsService( const OUString& ServiceName )