summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-02-14 16:51:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-02-14 16:53:12 +0100
commite2c343df8ca0a344d6e9c789c60c5b8dc7416b51 (patch)
tree68a6f19e6ee99b4750f03f2bcb741a24aafa9798 /vcl
parent973160bb4853f2913024c7ef4bf9f5e638e93c5a (diff)
Avoid ambiguities after string clean-up of InfoBox users
Change-Id: Icbce1220df0a08b32f78b863a15daf34522d1671
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/msgbox.hxx2
-rw-r--r--vcl/source/window/msgbox.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/vcl/msgbox.hxx b/vcl/inc/vcl/msgbox.hxx
index 8f0336dc045d..594d248a6acd 100644
--- a/vcl/inc/vcl/msgbox.hxx
+++ b/vcl/inc/vcl/msgbox.hxx
@@ -106,7 +106,7 @@ private:
SAL_DLLPRIVATE void ImplInitInfoBoxData();
public:
- InfoBox( Window* pParent, const XubString& rMessage );
+ InfoBox( Window* pParent, const OUString& rMessage );
InfoBox( Window* pParent, const ResId & rResId );
static Image GetStandardImage();
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx
index c7d0e3680c09..baf837054f0d 100644
--- a/vcl/source/window/msgbox.cxx
+++ b/vcl/source/window/msgbox.cxx
@@ -445,7 +445,7 @@ void InfoBox::ImplInitInfoBoxData()
// -----------------------------------------------------------------------
-InfoBox::InfoBox( Window* pParent, const XubString& rMessage ) :
+InfoBox::InfoBox( Window* pParent, const OUString& rMessage ) :
MessBox( pParent, WB_OK | WB_DEF_OK, ImplGetSVEmptyStr(), rMessage )
{
ImplInitInfoBoxData();