diff options
author | Noel Power <noel.power@suse.com> | 2012-12-20 19:30:23 +0000 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2012-12-20 19:32:03 +0000 |
commit | 6c336f4e07835f3f7969531f5fc69c6ac153920a (patch) | |
tree | 9a4a04429cdc0314338b652772de21815e7f4142 | |
parent | f8d7ddc805d4f1c013d4eab354bb2d86dcb2dda7 (diff) |
fix fdo#58403 fix processing of arguments from ".uno:Print" request
Change-Id: I011c2ea45d33ead14910e149a99ee8e587ef79b9
-rw-r--r-- | sfx2/source/view/viewprn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx index 4902d903b9dd..a00155773fbe 100644 --- a/sfx2/source/view/viewprn.cxx +++ b/sfx2/source/view/viewprn.cxx @@ -653,7 +653,7 @@ void SfxViewShell::ExecPrint_Impl( SfxRequest &rReq ) bool bSilent = false; // does the function have been called by the user interface or by an API call - sal_Bool bIsAPI = rReq.IsAPI(); + sal_Bool bIsAPI = rReq.GetArgs() && rReq.GetArgs()->Count(); if ( bIsAPI ) { // the function have been called by the API |