diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-25 18:52:22 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-26 09:00:54 +0200 |
commit | c6b959536fb75dae31235d78bebb51f4c140e6cf (patch) | |
tree | 59ae50c342608b02f814499f02363b6b5c4914d5 | |
parent | 4f0bb4d27c30b4b8cce6e0502661afcf32464a44 (diff) |
Fix unintendet re-add of JobSetup::GetValue
-rw-r--r-- | vcl/inc/vcl/jobset.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/vcl/print.hxx | 1 | ||||
-rw-r--r-- | vcl/source/gdi/jobset.cxx | 13 |
3 files changed, 0 insertions, 15 deletions
diff --git a/vcl/inc/vcl/jobset.hxx b/vcl/inc/vcl/jobset.hxx index 0340f5dd8587..3ec52df2644e 100644 --- a/vcl/inc/vcl/jobset.hxx +++ b/vcl/inc/vcl/jobset.hxx @@ -66,7 +66,6 @@ public: * by the printer driver. One possible use are phone * numbers for faxes (which disguise as printers) */ - String GetValue( const String& rKey ) const; void SetValue( const String& rKey, const String& rValue ); JobSetup& operator=( const JobSetup& rJob ); diff --git a/vcl/inc/vcl/print.hxx b/vcl/inc/vcl/print.hxx index 120198328e49..7b923270d4a9 100644 --- a/vcl/inc/vcl/print.hxx +++ b/vcl/inc/vcl/print.hxx @@ -309,7 +309,6 @@ public: sal_Bool SetJobSetup( const JobSetup& rSetup ); const JobSetup& GetJobSetup() const { return maJobSetup; } - String GetJobValue( const String& rKey ) const { return maJobSetup.GetValue( rKey ); } void SetJobValue( const String& rKey, const String& rValue ) { maJobSetup.SetValue( rKey, rValue ); } sal_Bool Setup( Window* pWindow = NULL ); diff --git a/vcl/source/gdi/jobset.cxx b/vcl/source/gdi/jobset.cxx index d06e16dcf0cb..785a4387e99c 100644 --- a/vcl/source/gdi/jobset.cxx +++ b/vcl/source/gdi/jobset.cxx @@ -210,19 +210,6 @@ XubString JobSetup::GetDriverName() const // ----------------------------------------------------------------------- -String JobSetup::GetValue( const String& rKey ) const -{ - if( mpData ) - { - ::boost::unordered_map< ::rtl::OUString, ::rtl::OUString, ::rtl::OUStringHash >::const_iterator it; - it = mpData->maValueMap.find( rKey ); - return it != mpData->maValueMap.end() ? String( it->second ) : String(); - } - return String(); -} - -// ----------------------------------------------------------------------- - void JobSetup::SetValue( const String& rKey, const String& rValue ) { if( ! mpData ) |