diff options
author | David Tardon <dtardon@redhat.com> | 2011-11-21 09:00:21 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-11-21 09:03:43 +0100 |
commit | 737f61ba4c202834e70bbaa746b4a9ce0137a891 (patch) | |
tree | 3ba0de5068dbd7972161af72c893204ecd5d36be /vcl/source/gdi/jobset.cxx | |
parent | ee3ad385fb3ca476e57e80d7b77c1e184e52e1d8 (diff) |
Convert Sal to rtl::O(U)String
Diffstat (limited to 'vcl/source/gdi/jobset.cxx')
-rw-r--r-- | vcl/source/gdi/jobset.cxx | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/vcl/source/gdi/jobset.cxx b/vcl/source/gdi/jobset.cxx index 0f5c1062275e..e9fb8f2d71c4 100644 --- a/vcl/source/gdi/jobset.cxx +++ b/vcl/source/gdi/jobset.cxx @@ -184,33 +184,27 @@ JobSetup::~JobSetup() // ----------------------------------------------------------------------- -XubString JobSetup::GetPrinterName() const +rtl::OUString JobSetup::GetPrinterName() const { if ( mpData ) return mpData->maPrinterName; else - { - XubString aName; - return aName; - } + return rtl::OUString(); } // ----------------------------------------------------------------------- -XubString JobSetup::GetDriverName() const +rtl::OUString JobSetup::GetDriverName() const { if ( mpData ) return mpData->maDriver; else - { - XubString aDriver; - return aDriver; - } + return rtl::OUString(); } // ----------------------------------------------------------------------- -void JobSetup::SetValue( const String& rKey, const String& rValue ) +void JobSetup::SetValue( const rtl::OUString& rKey, const rtl::OUString& rValue ) { if( ! mpData ) mpData = new ImplJobSetup(); |