summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-12-20 19:30:23 +0000
committerNoel Power <noel.power@suse.com>2012-12-20 19:33:05 +0000
commit1e882f60013bae90b734a8f2ad90421550b39e83 (patch)
tree2889d7f9fd1ae6eb085cf263fb48de027bf2c513
parent67b3af79bb17d8d8c8b9d2328051a340c107f956 (diff)
fix fdo#58403 fix processing of arguments from ".uno:Print" request
Change-Id: I011c2ea45d33ead14910e149a99ee8e587ef79b9
-rw-r--r--sfx2/source/view/viewprn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index e65aefcdbb88..d1f3c3c25778 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