summaryrefslogtreecommitdiff
path: root/vcl/headless/svpprn.cxx
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2012-12-19 19:57:10 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-12-20 13:41:15 +0000
commit6cd49f7f225a28a1f5e79a47f809ecb13761ef7a (patch)
treeddff97fb73773cb3f287f7ce5bd42ae81de2b93a /vcl/headless/svpprn.cxx
parent9123db4ce8f1c20cf7b4f5a8ceaa66b6321ede14 (diff)
vcl/headless: remove rtl namespace prefix from OUstring methods
Change-Id: Ic3948384bc1709d648507c41542c34437abea468 Reviewed-on: https://gerrit.libreoffice.org/1422 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'vcl/headless/svpprn.cxx')
-rw-r--r--vcl/headless/svpprn.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/vcl/headless/svpprn.cxx b/vcl/headless/svpprn.cxx
index d711bcdf638c..d769847512b3 100644
--- a/vcl/headless/svpprn.cxx
+++ b/vcl/headless/svpprn.cxx
@@ -34,16 +34,13 @@
using namespace psp;
-using ::rtl::OUString;
-using ::rtl::OUStringToOString;
-
/*
* static helpers
*/
-static rtl::OUString getPdfDir( const PrinterInfo& rInfo )
+static OUString getPdfDir( const PrinterInfo& rInfo )
{
- rtl::OUString aDir;
+ OUString aDir;
sal_Int32 nIndex = 0;
while( nIndex != -1 )
{
@@ -53,7 +50,7 @@ static rtl::OUString getPdfDir( const PrinterInfo& rInfo )
sal_Int32 nPos = 0;
aDir = aToken.getToken( 1, '=', nPos );
if( aDir.isEmpty() )
- aDir = rtl::OStringToOUString( rtl::OString( getenv( "HOME" ) ), osl_getThreadTextEncoding() );
+ aDir = OStringToOUString( OString( getenv( "HOME" ) ), osl_getThreadTextEncoding() );
break;
}
}
@@ -255,7 +252,7 @@ void SvpSalInstance::GetPrinterQueueState( SalPrinterQueueInfo* )
{
}
-rtl::OUString SvpSalInstance::GetDefaultPrinter()
+OUString SvpSalInstance::GetDefaultPrinter()
{
PrinterInfoManager& rManager( PrinterInfoManager::get() );
return rManager.getDefaultPrinter();