Kaydet (Commit) c6b95953 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

Fix unintendet re-add of JobSetup::GetValue

üst 4f0bb4d2
...@@ -66,7 +66,6 @@ public: ...@@ -66,7 +66,6 @@ public:
* by the printer driver. One possible use are phone * by the printer driver. One possible use are phone
* numbers for faxes (which disguise as printers) * numbers for faxes (which disguise as printers)
*/ */
String GetValue( const String& rKey ) const;
void SetValue( const String& rKey, const String& rValue ); void SetValue( const String& rKey, const String& rValue );
JobSetup& operator=( const JobSetup& rJob ); JobSetup& operator=( const JobSetup& rJob );
......
...@@ -309,7 +309,6 @@ public: ...@@ -309,7 +309,6 @@ public:
sal_Bool SetJobSetup( const JobSetup& rSetup ); sal_Bool SetJobSetup( const JobSetup& rSetup );
const JobSetup& GetJobSetup() const { return maJobSetup; } 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 ); } void SetJobValue( const String& rKey, const String& rValue ) { maJobSetup.SetValue( rKey, rValue ); }
sal_Bool Setup( Window* pWindow = NULL ); sal_Bool Setup( Window* pWindow = NULL );
......
...@@ -210,19 +210,6 @@ XubString JobSetup::GetDriverName() const ...@@ -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 ) void JobSetup::SetValue( const String& rKey, const String& rValue )
{ {
if( ! mpData ) if( ! mpData )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment