summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewling.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewling.cxx')
-rw-r--r--sw/source/uibase/uiview/viewling.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx
index ff66a402903c..55b1c55c3726 100644
--- a/sw/source/uibase/uiview/viewling.cxx
+++ b/sw/source/uibase/uiview/viewling.cxx
@@ -132,8 +132,8 @@ void SwView::ExecLingu(SfxRequest &rReq)
Any* pArray = aSeq.getArray();
PropertyValue aParam;
aParam.Name = "ParentWindow";
- aParam.Value = makeAny(xDialogParentWindow);
- pArray[0] = makeAny(aParam);
+ aParam.Value <<= xDialogParentWindow;
+ pArray[0] <<= aParam;
xInit->initialize( aSeq );
//execute dialog
@@ -898,7 +898,7 @@ IMPL_LINK( SwFieldDialog, MyListBoxHandler, ListBox&, rBox, void )
if ( selection >= 0 )
{
OUString sKey = ODF_FORMDROPDOWN_RESULT;
- (*pFieldmark->GetParameters())[ sKey ] = makeAny(selection);
+ (*pFieldmark->GetParameters())[ sKey ] <<= selection;
pFieldmark->Invalidate();
SwView& rView = static_cast<SwEditWin*>( GetParent() )->GetView();
rView.GetDocShell()->SetModified();