[Libreoffice-commits] core.git: extensions/source
Stephan Bergmann
sbergman at redhat.com
Tue Feb 28 12:14:50 UTC 2017
extensions/source/update/ui/updatecheckui.cxx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 563e56653b725e8f968df60eb25132fd7084461c
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Feb 28 13:14:03 2017 +0100
loplugin:unoany
Change-Id: I57375d39aa2e84e40f2c2eb13e3e942497a78a3e
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx
index 8fc5989..1f40751 100644
--- a/extensions/source/update/ui/updatecheckui.cxx
+++ b/extensions/source/update/ui/updatecheckui.cxx
@@ -436,17 +436,17 @@ uno::Any UpdateCheckUI::getPropertyValue(const OUString& rPropertyName)
uno::Any aRet;
if( rPropertyName == PROPERTY_TITLE )
- aRet = uno::makeAny( maBubbleTitle );
+ aRet <<= maBubbleTitle;
else if( rPropertyName == PROPERTY_TEXT )
- aRet = uno::makeAny( maBubbleText );
+ aRet <<= maBubbleText;
else if( rPropertyName == PROPERTY_SHOW_BUBBLE )
- aRet = uno::makeAny( mbShowBubble );
+ aRet <<= mbShowBubble;
else if( rPropertyName == PROPERTY_IMAGE )
- aRet = uno::makeAny( maBubbleImageURL );
+ aRet <<= maBubbleImageURL;
else if( rPropertyName == PROPERTY_CLICK_HDL )
- aRet = uno::makeAny( mrJob );
+ aRet <<= mrJob;
else if( rPropertyName == PROPERTY_SHOW_MENUICON )
- aRet = uno::makeAny( mbShowMenuIcon );
+ aRet <<= mbShowMenuIcon;
else
throw beans::UnknownPropertyException();
More information about the Libreoffice-commits
mailing list