summaryrefslogtreecommitdiff
path: root/padmin/source
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2009-04-20 16:57:13 +0000
committerPhilipp Lohmann <pl@openoffice.org>2009-04-20 16:57:13 +0000
commit198632aa538edc6804909fe7330fc122b769398b (patch)
treea17a85241b51e3a8380f9bdb7b706b8054ec4340 /padmin/source
parenta8b3bdded3b8a0fa7cfd12e52b9d60ce3658019e (diff)
CWS-TOOLING: rebase CWS printerpullpages to trunk@270723 (milestone: DEV300:m46)
Diffstat (limited to 'padmin/source')
-rw-r--r--padmin/source/prtsetup.cxx17
-rw-r--r--padmin/source/prtsetup.hxx2
2 files changed, 0 insertions, 19 deletions
diff --git a/padmin/source/prtsetup.cxx b/padmin/source/prtsetup.cxx
index 1a6894789bb5..6cf4f8b257b1 100644
--- a/padmin/source/prtsetup.cxx
+++ b/padmin/source/prtsetup.cxx
@@ -148,23 +148,6 @@ RTSDialog::~RTSDialog()
// --------------------------------------------------------------------------
-String RTSDialog::getPaperSize()
-{
- String aRet;
- if( m_aJobData.m_pParser )
- {
- const PPDKey* pKey = m_aJobData.m_pParser->getKey( String::CreateFromAscii( "PageSize" ) );
- if( pKey )
- {
- const PPDValue* pValue = m_aJobData.m_aContext.getValue( pKey );
- aRet = pValue->m_aOption;
- }
- }
- return aRet;
-}
-
-// --------------------------------------------------------------------------
-
IMPL_LINK( RTSDialog, ActivatePage, TabControl*, pTabCtrl )
{
if( pTabCtrl != &m_aTabControl )
diff --git a/padmin/source/prtsetup.hxx b/padmin/source/prtsetup.hxx
index 56e68336dfd8..8487daa158da 100644
--- a/padmin/source/prtsetup.hxx
+++ b/padmin/source/prtsetup.hxx
@@ -86,8 +86,6 @@ class RTSDialog : public TabDialog
// helper functions
void insertAllPPDValues( ListBox&, const ::psp::PPDKey* );
-
- String getPaperSize();
public:
RTSDialog( const ::psp::PrinterInfo& rJobData, const String& rPrinter, bool bAllPages, Window* pParent = NULL );
~RTSDialog();