Kaydet (Commit) 512d8f04 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Make sure ShowNativeDialog() shows something: Use NSLog()

Change-Id: I5ca0a471c980aa19d243500e95ee8cf585e1be9e
üst 756873f0
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "ios/iosinst.hxx" #include "ios/iosinst.hxx"
#include "headless/svpdummies.hxx" #include "headless/svpdummies.hxx"
#include "generic/gendata.hxx" #include "generic/gendata.hxx"
#include "quartz/utils.h"
// Horrible hack // Horrible hack
static int viewWidth = 1, viewHeight = 1; static int viewWidth = 1, viewHeight = 1;
...@@ -281,6 +282,8 @@ int IosSalSystem::ShowNativeDialog( const OUString& rTitle, ...@@ -281,6 +282,8 @@ int IosSalSystem::ShowNativeDialog( const OUString& rTitle,
(void)rButtons; (void)rButtons;
(void)nDefButton; (void)nDefButton;
NSLog(@"%@: %@", CreateNSString(rTitle), CreateNSString(rMessage));
if (IosSalInstance::getInstance() != NULL) if (IosSalInstance::getInstance() != NULL)
{ {
// Temporary... // Temporary...
......
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