summaryrefslogtreecommitdiff
path: root/vcl/android
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-18 08:50:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-18 10:57:21 +0100
commita107bdfdfc1baf73f14055262d64bf616fc0a889 (patch)
tree2e4cbadd538f5e8d495fb8953a5a7939c8ab2bb5 /vcl/android
parent3b6091ca42cd2d9f230e7d81648c34f3d7085107 (diff)
ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
Diffstat (limited to 'vcl/android')
-rw-r--r--vcl/android/androidinst.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index 4f716e022378..830505936ebd 100644
--- a/vcl/android/androidinst.cxx
+++ b/vcl/android/androidinst.cxx
@@ -346,7 +346,7 @@ void DestroySalInstance( SalInstance *pInst )
delete pInst;
}
-#include <vcl/msgbox.hxx>
+#include <vcl/layout.hxx>
int AndroidSalSystem::ShowNativeDialog( const OUString& rTitle,
const OUString& rMessage,
@@ -371,8 +371,8 @@ int AndroidSalSystem::ShowNativeDialog( const OUString& rTitle,
// horror would be needed to use it directly here. Probably we
// want some easier to use magic wrapper, hmm.
- ErrorBox aVclErrBox( NULL, WB_OK, rTitle );
- aVclErrBox.SetText( rMessage );
+ MessageDialog aVclErrBox(NULL, rMessage);
+ aVclErrBox.SetText(rTitle);
aVclErrBox.Execute();
}
else