[Libreoffice-commits] .: Branch 'libreoffice-4-0' - sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Dec 20 11:33:27 PST 2012
sfx2/source/view/viewprn.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1e882f60013bae90b734a8f2ad90421550b39e83
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 e65aefc..d1f3c3c 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