summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-30 15:14:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-30 15:14:03 +0200
commit8fec9e7e4ca97e14551a737583226f89b0c6eecd (patch)
tree97b0c9e68fd2c3ad75f9b7d52a76a134522b8350 /svx
parente630df7853a62225cd77fc4262689ef5607d2907 (diff)
Some clean up of uses of css::uno::Any::setValue
Change-Id: I04e8aef35a6083b61d775c8eb3f96757da2b31bd
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmsrcimp.cxx2
-rw-r--r--svx/source/unodraw/unoshape.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx
index 5d0e72d9a80a..2e6ab8ed47a1 100644
--- a/svx/source/form/fmsrcimp.cxx
+++ b/svx/source/form/fmsrcimp.cxx
@@ -1189,7 +1189,7 @@ void FmSearchEngine::StartOverSpecial(bool _bSearchForNull)
void FmSearchEngine::InvalidatePreviousLoc()
{
- m_aPreviousLocBookmark.setValue(nullptr,cppu::UnoType<void>::get());
+ m_aPreviousLocBookmark.clear();
m_iterPreviousLocField = m_arrUsedFields.end();
}
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 8074c5393e19..a6fe3ae4f1bf 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -686,7 +686,7 @@ uno::Any SvxShape::GetBitmap( bool bMetaFile /* = false */ ) const
const uno::Sequence<sal_Int8> aSeq(
static_cast< const sal_Int8* >(aDestStrm.GetData()),
aDestStrm.GetEndOfData());
- aAny.setValue( &aSeq, cppu::UnoType<uno::Sequence< sal_Int8 >>::get() );
+ aAny <<= aSeq;
}
else
{