[Libreoffice-commits] .: sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Dec 20 11:32:23 PST 2012
sfx2/source/view/viewprn.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6c336f4e07835f3f7969531f5fc69c6ac153920a
Author: Noel Power <noel.power at suse.com>
Date: Thu Dec 20 19:30:23 2012 +0000
fix fdo#58403 fix processing of arguments from ".uno:Print" request
Change-Id: I011c2ea45d33ead14910e149a99ee8e587ef79b9
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index 4902d90..a001557 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
More information about the Libreoffice-commits
mailing list