summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-22 18:24:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-24 08:08:00 +0100
commitb7259532d83ea1263f6944974d71162c47203939 (patch)
tree19d6a840d86070831573a583dd45a2b828218323 /svx
parentad73967e99235a2ba9b5a2106c5d6d0f8efaa1ca (diff)
Remove unnecessary bool2any
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
Diffstat (limited to 'svx')
-rw-r--r--svx/source/fmcomp/fmgridcl.cxx2
-rw-r--r--svx/source/form/fmshimp.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx
index fd5bac9ff86e..ed5670dd7a30 100644
--- a/svx/source/fmcomp/fmgridcl.cxx
+++ b/svx/source/fmcomp/fmgridcl.cxx
@@ -605,7 +605,7 @@ IMPL_LINK( FmGridHeader, OnAsyncExecuteDrop, void*, /*NOTINTERESTEDIN*/ )
break;
default:
aCommandType <<= (sal_Int32)CommandType::COMMAND;
- xForm->setPropertyValue(FM_PROP_ESCAPE_PROCESSING, bool2any(2 == nCommandType));
+ xForm->setPropertyValue(FM_PROP_ESCAPE_PROCESSING, css::uno::Any(2 == nCommandType));
break;
}
xForm->setPropertyValue(FM_PROP_COMMANDTYPE, aCommandType);
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index 7dd6351bc362..0e2d40a30fb3 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -78,7 +78,6 @@
#include <com/sun/star/util/XNumberFormatter.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
-#include <comphelper/extract.hxx>
#include <comphelper/evtmethodhelper.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/property.hxx>
@@ -3613,7 +3612,7 @@ void FmXFormShell::SetWizardUsing(sal_Bool _bUseThem)
Sequence< OUString > aNames(1);
aNames[0] = "FormControlPilotsEnabled";
Sequence< Any > aValues(1);
- aValues[0] = ::cppu::bool2any(m_bUseWizards);
+ aValues[0] <<= m_bUseWizards;
PutProperties(aNames, aValues);
}