From 1946794ae09ba732022fe6a74ea45e304ab70b84 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Sun, 7 Apr 2013 12:06:47 +0200 Subject: mass removal of rtl:: prefixes for O(U)String* Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09 --- vcl/source/uipreviewer/previewer.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vcl/source/uipreviewer') diff --git a/vcl/source/uipreviewer/previewer.cxx b/vcl/source/uipreviewer/previewer.cxx index 939c55342744..9cf4fe7177a5 100644 --- a/vcl/source/uipreviewer/previewer.cxx +++ b/vcl/source/uipreviewer/previewer.cxx @@ -30,10 +30,10 @@ using namespace com::sun::star; int UIPreviewApp::Main() { - std::vector uifiles; + std::vector uifiles; for (sal_uInt16 i = 0; i < GetCommandLineParamCount(); ++i) { - rtl::OUString aFileUrl; + OUString aFileUrl; osl::File::getFileURLFromSystemPath(GetCommandLineParam(i), aFileUrl); uifiles.push_back(aFileUrl); } @@ -65,7 +65,7 @@ int UIPreviewApp::Main() Dialog *pDialog = new Dialog(DIALOG_NO_PARENT, WB_STDDIALOG); { - VclBuilder aBuilder(pDialog, rtl::OUString(), uifiles[0]); + VclBuilder aBuilder(pDialog, OUString(), uifiles[0]); Dialog *pRealDialog = dynamic_cast(aBuilder.get_widget_root()); if (!pRealDialog) @@ -73,7 +73,7 @@ int UIPreviewApp::Main() if (pRealDialog) { - pRealDialog->SetText(rtl::OUString("LibreOffice ui-previewer")); + pRealDialog->SetText(OUString("LibreOffice ui-previewer")); pRealDialog->SetStyle(pDialog->GetStyle()|WB_CLOSEABLE); pRealDialog->Execute(); } @@ -83,7 +83,7 @@ int UIPreviewApp::Main() } catch (const uno::Exception &e) { - fprintf(stderr, "fatal error: %s\n", rtl::OUStringToOString(e.Message, osl_getThreadTextEncoding()).getStr()); + fprintf(stderr, "fatal error: %s\n", OUStringToOString(e.Message, osl_getThreadTextEncoding()).getStr()); } return EXIT_SUCCESS; -- cgit