summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();