Kaydet (Commit) 6c336f4e authored tarafından Noel Power's avatar Noel Power

fix fdo#58403 fix processing of arguments from ".uno:Print" request

Change-Id: I011c2ea45d33ead14910e149a99ee8e587ef79b9
üst f8d7ddc8
...@@ -653,7 +653,7 @@ void SfxViewShell::ExecPrint_Impl( SfxRequest &rReq ) ...@@ -653,7 +653,7 @@ void SfxViewShell::ExecPrint_Impl( SfxRequest &rReq )
bool bSilent = false; bool bSilent = false;
// does the function have been called by the user interface or by an API call // 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 ) if ( bIsAPI )
{ {
// the function have been called by the API // the function have been called by the API
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment