summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/jobset.hxx1
-rw-r--r--vcl/inc/vcl/print.hxx1
-rw-r--r--vcl/source/gdi/jobset.cxx13
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 )