summaryrefslogtreecommitdiff
path: root/sfx2/source/view
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/view')
-rw-r--r--sfx2/source/view/viewprn.cxx4
-rw-r--r--sfx2/source/view/viewsh.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index 16316ad7f517..b107f9b4d269 100644
--- a/sfx2/source/view/viewprn.cxx
+++ b/sfx2/source/view/viewprn.cxx
@@ -730,13 +730,13 @@ void SfxViewShell::ExecPrint_Impl( SfxRequest &rReq )
if( nId == SID_PRINTDOCDIRECT )
{
aProps[nLen].Name = "PrintSelectionOnly";
- aProps[nLen].Value = makeAny( bSelection );
+ aProps[nLen].Value <<= bSelection;
}
else // if nId == SID_PRINTDOC ; nothing to do with the previous HACK
{
// should the printer selection and properties dialogue display an help button
aProps[nLen].Name = "HideHelpButton";
- aProps[nLen].Value = makeAny( bPrintOnHelp );
+ aProps[nLen].Value <<= bPrintOnHelp;
}
ExecPrint( aProps, bIsAPI, (nId == SID_PRINTDOCDIRECT) );
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 071d6e1ceed2..eaaaa994c775 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -650,7 +650,7 @@ void SfxViewShell::ExecMisc_Impl( SfxRequest &rReq )
css::uno::Sequence< css::beans::PropertyValue > aArgs( 1 );
aArgs[0].Name = "FilterName";
- aArgs[0].Value = css::uno::makeAny( aFilterName );
+ aArgs[0].Value <<= aFilterName;
// Store document in the html format
try