From 8fec9e7e4ca97e14551a737583226f89b0c6eecd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 30 May 2016 15:14:03 +0200 Subject: Some clean up of uses of css::uno::Any::setValue Change-Id: I04e8aef35a6083b61d775c8eb3f96757da2b31bd --- svx/source/form/fmsrcimp.cxx | 2 +- svx/source/unodraw/unoshape.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'svx') 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::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 aSeq( static_cast< const sal_Int8* >(aDestStrm.GetData()), aDestStrm.GetEndOfData()); - aAny.setValue( &aSeq, cppu::UnoType>::get() ); + aAny <<= aSeq; } else { -- cgit reoffice-5-1'>distro/cib/libreoffice-5-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2018-06-19Remove obsolete (cargo-cult copied) dependenciesJens Carl
2018-03-11extract common components to one place for sc unoapi testsTomaž Vajngerl
2018-03-11Move (and rename) graphic stuff from svtools to vclTomaž Vajngerl
2017-11-03Missing dependencyStephan Bergmann
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky