summaryrefslogtreecommitdiff
path: root/padmin
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
parenta8b3bdded3b8a0fa7cfd12e52b9d60ce3658019e (diff)
CWS-TOOLING: rebase CWS printerpullpages to trunk@270723 (milestone: DEV300:m46)
Diffstat (limited to 'padmin')
-rw-r--r--padmin/prj/build.lst2
-rw-r--r--padmin/source/prtsetup.cxx17
-rw-r--r--padmin/source/prtsetup.hxx2
3 files changed, 1 insertions, 20 deletions
diff --git a/padmin/prj/build.lst b/padmin/prj/build.lst
index 9aaab83cf7de..765675d73137 100644
--- a/padmin/prj/build.lst
+++ b/padmin/prj/build.lst
@@ -1,3 +1,3 @@
-pd padmin : vcl svtools NULL
+pd padmin : psprint vcl svtools NULL
pd padmin usr1 - all pd_mkout NULL
pd padmin\source nmake - all pd_source NULL
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();