summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxwindows.cxx2
-rw-r--r--toolkit/source/controls/roadmapcontrol.cxx5
2 files changed, 3 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index e5c6fc81d6be..76094cc1be3a 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -3064,7 +3064,7 @@ css::uno::Any VCLXFixedHyperlink::getProperty( const OUString& PropertyName )
{
case BASEPROPERTY_URL:
{
- aProp = makeAny( OUString( pBase->GetURL() ) );
+ aProp <<= pBase->GetURL();
break;
}
diff --git a/toolkit/source/controls/roadmapcontrol.cxx b/toolkit/source/controls/roadmapcontrol.cxx
index 94769594276e..ccedc899fe5d 100644
--- a/toolkit/source/controls/roadmapcontrol.cxx
+++ b/toolkit/source/controls/roadmapcontrol.cxx
@@ -185,8 +185,7 @@ static void lcl_throwIndexOutOfBoundsException( )
{
if (( Index >= (sal_Int32)maRoadmapItems.size()) || (Index < 0))
lcl_throwIndexOutOfBoundsException( );
- Any aAny;
- aAny = makeAny( maRoadmapItems.at( Index ));
+ Any aAny( maRoadmapItems.at( Index ) );
return aAny;
}
@@ -257,7 +256,7 @@ static void lcl_throwIndexOutOfBoundsException( )
ContainerEvent aEvent;
aEvent.Source = *this;
aEvent.Element <<= xRoadmapItem;
- aEvent.Accessor = makeAny(Index);
+ aEvent.Accessor <<= Index;
return aEvent;
}