summaryrefslogtreecommitdiff
path: root/sfx2/source/view/viewprn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/view/viewprn.cxx')
-rw-r--r--sfx2/source/view/viewprn.cxx4
1 files changed, 2 insertions, 2 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) );