summaryrefslogtreecommitdiff
path: root/vcl/source/app/stdtext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/stdtext.cxx')
-rw-r--r--vcl/source/app/stdtext.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/app/stdtext.cxx b/vcl/source/app/stdtext.cxx
index fde6acb7264f..2e549e539db4 100644
--- a/vcl/source/app/stdtext.cxx
+++ b/vcl/source/app/stdtext.cxx
@@ -20,14 +20,13 @@
#include <vcl/layout.hxx>
#include <vcl/stdtext.hxx>
-#include <svids.hrc>
+#include <strings.hrc>
#include <svdata.hxx>
void ShowServiceNotAvailableError(vcl::Window* pParent,
const OUString& rServiceName, bool bError)
{
- OUString aText = OUString(VclResId(SV_STDTEXT_SERVICENOTAVAILABLE)).
- replaceAll("%s", rServiceName);
+ OUString aText = VclResId(SV_STDTEXT_SERVICENOTAVAILABLE).replaceAll("%s", rServiceName);
ScopedVclPtrInstance< MessageDialog > aBox( pParent, aText, bError ? VclMessageType::Error : VclMessageType::Warning );
aBox->Execute();
}