summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2009-06-11 14:54:05 +0000
committerPhilipp Lohmann <pl@openoffice.org>2009-06-11 14:54:05 +0000
commit68e6ca91d58be4b05cc2cd8d95acaf70665d3b22 (patch)
tree50d3ab8ccc8c5579abc02a1eb90d693456826617 /toolkit
parent3fb2edb5945be0a8ddc69759f1ec01029f5abe1a (diff)
make compile, need to build an adaptor to new print API
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxprinter.cxx20
1 files changed, 16 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxprinter.cxx b/toolkit/source/awt/vclxprinter.cxx
index 69d8dd827497..f57fd8803adf 100644
--- a/toolkit/source/awt/vclxprinter.cxx
+++ b/toolkit/source/awt/vclxprinter.cxx
@@ -332,7 +332,10 @@ sal_Bool VCLXPrinter::start( const ::rtl::OUString& rJobName, sal_Int16 /*nCopie
sal_Bool bDone = sal_True;
if ( GetPrinter() )
- bDone = GetPrinter()->StartJob( rJobName );
+ {
+ // FIXME: adapt to new interface
+ // bDone = GetPrinter()->StartJob( rJobName );
+ }
return bDone;
}
@@ -342,7 +345,10 @@ void VCLXPrinter::end( ) throw(::com::sun::star::awt::PrinterException, ::com::
::osl::Guard< ::osl::Mutex > aGuard( Mutex );
if ( GetPrinter() )
- GetPrinter()->EndJob();
+ {
+ // FIXME: adapt to new interface
+ // GetPrinter()->EndJob();
+ }
}
void VCLXPrinter::terminate( ) throw(::com::sun::star::uno::RuntimeException)
@@ -358,7 +364,10 @@ void VCLXPrinter::terminate( ) throw(::com::sun::star::uno::RuntimeException)
::osl::Guard< ::osl::Mutex > aGuard( Mutex );
if ( GetPrinter() )
- GetPrinter()->StartPage();
+ {
+ // FIXME: adapt to new interface
+ // GetPrinter()->StartPage();
+ }
return GetDevice();
}
@@ -367,7 +376,10 @@ void VCLXPrinter::endPage( ) throw(::com::sun::star::awt::PrinterException, ::c
::osl::Guard< ::osl::Mutex > aGuard( Mutex );
if ( GetPrinter() )
- GetPrinter()->EndPage();
+ {
+ // FIXME: adapt to new interface
+ // GetPrinter()->EndPage();
+ }
}