summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/vba/vbadocument.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbadocument.cxx')
-rw-r--r--sw/source/ui/vba/vbadocument.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbadocument.cxx b/sw/source/ui/vba/vbadocument.cxx
index f987b31e7717..ca77dc62a799 100644
--- a/sw/source/ui/vba/vbadocument.cxx
+++ b/sw/source/ui/vba/vbadocument.cxx
@@ -155,7 +155,7 @@ SwVbaDocument::Bookmarks( const uno::Any& rIndex )
if ( rIndex.getValueTypeClass() == uno::TypeClass_VOID )
return uno::makeAny( xBookmarksVba );
- return uno::Any( xBookmarksVba->Item( rIndex, uno::Any() ) );
+ return xBookmarksVba->Item( rIndex, uno::Any() );
}
uno::Any SAL_CALL
@@ -169,7 +169,7 @@ SwVbaDocument::Variables( const uno::Any& rIndex )
if ( rIndex.getValueTypeClass() == uno::TypeClass_VOID )
return uno::makeAny( xVariables );
- return uno::Any( xVariables->Item( rIndex, uno::Any() ) );
+ return xVariables->Item( rIndex, uno::Any() );
}
uno::Any SAL_CALL