diff options
Diffstat (limited to 'sw/source/uibase/config/StoredChapterNumbering.cxx')
-rw-r--r-- | sw/source/uibase/config/StoredChapterNumbering.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/config/StoredChapterNumbering.cxx b/sw/source/uibase/config/StoredChapterNumbering.cxx index 07e68841ed93..a74f7329b26f 100644 --- a/sw/source/uibase/config/StoredChapterNumbering.cxx +++ b/sw/source/uibase/config/StoredChapterNumbering.cxx @@ -31,7 +31,7 @@ #include <xmloff/xmlnumi.hxx> #include <vcl/svapp.hxx> -#include <tools/diagnose_ex.h> +#include <comphelper/diagnose_ex.hxx> #include <unosett.hxx> @@ -129,7 +129,7 @@ public: uno::Sequence<beans::PropertyValue> const ret( SwXNumberingRules::GetPropertiesForNumFormat( *pNumFormat, *pCharStyleName, &dummy, "")); - return uno::makeAny(ret); + return uno::Any(ret); } // XIndexReplace @@ -141,7 +141,7 @@ public: uno::Sequence<beans::PropertyValue> props; if (!(rElement >>= props)) throw lang::IllegalArgumentException("invalid type", - static_cast< ::cppu::OWeakObject*>(this), 1); + getXWeak(), 1); SolarMutexGuard g; SwNumFormat aNumberFormat; @@ -149,7 +149,7 @@ public: SwXNumberingRules::SetPropertiesToNumFormat( aNumberFormat, charStyleName, - nullptr, nullptr, nullptr, nullptr, + nullptr, nullptr, nullptr, nullptr, nullptr, props); SwNumRulesWithName *const pRules(GetOrCreateRules()); pRules->SetNumFormat(nIndex, aNumberFormat, charStyleName); |