summaryrefslogtreecommitdiff
path: root/vcl/source/uipreviewer
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-04-07 12:06:47 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-04-07 14:23:11 +0200
commit1946794ae09ba732022fe6a74ea45e304ab70b84 (patch)
treee32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /vcl/source/uipreviewer
parent5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff)
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
Diffstat (limited to 'vcl/source/uipreviewer')
-rw-r--r--vcl/source/uipreviewer/previewer.cxx10
1 files changed, 5 insertions, 5 deletions
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<rtl::OUString> uifiles;
+ std::vector<OUString> 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<Dialog*>(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;