diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-22 18:24:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-24 08:08:00 +0100 |
commit | b7259532d83ea1263f6944974d71162c47203939 (patch) | |
tree | 19d6a840d86070831573a583dd45a2b828218323 /sw | |
parent | ad73967e99235a2ba9b5a2106c5d6d0f8efaa1ca (diff) |
Remove unnecessary bool2any
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 3 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par3.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index c31b26749e38..dcc3d8f18e9e 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -80,7 +80,6 @@ #include <fchrfmt.hxx> #include <charfmt.hxx> -#include <comphelper/extract.hxx> #include <fltini.hxx> #include "writerwordglue.hxx" @@ -1946,7 +1945,7 @@ void SwWW8ImplReader::ImportDop() { if (xInfo->hasPropertyByName("ApplyFormDesignMode")) { - xDocProps->setPropertyValue("ApplyFormDesignMode", cppu::bool2any(bValue)); + xDocProps->setPropertyValue("ApplyFormDesignMode", css::uno::makeAny(bValue)); } } } diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx index e5d462fd6d02..ec596336fcb9 100644 --- a/sw/source/filter/ww8/ww8par3.cxx +++ b/sw/source/filter/ww8/ww8par3.cxx @@ -45,7 +45,6 @@ #include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/text/VertOrientation.hpp> #include <com/sun/star/text/TextContentAnchorType.hpp> -#include <comphelper/extract.hxx> #include <com/sun/star/beans/XPropertyContainer.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> @@ -2446,7 +2445,7 @@ sal_Bool WW8FormulaListBox::Import(const uno::Reference < } sal_Bool bDropDown(sal_True); - xPropSet->setPropertyValue("Dropdown", cppu::bool2any(bDropDown)); + xPropSet->setPropertyValue("Dropdown", css::uno::makeAny(bDropDown)); if (!maListEntries.empty()) { |