summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrinzing <oliver.brinzing@gmx.de>2019-05-10 20:12:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-05-19 20:35:50 +0200
commit0f55127195a897ca7b13c25ded2208476dba3a08 (patch)
tree835f026f897b0665e17c7b8cd27e483fbbc27239 /include
parentc12922a584ee7a150252de938087b82fd584b9d5 (diff)
tdf#125207 [API CHANGE] extend css.awt.PrinterServer: XPrinterServer2
Change-Id: Ic2df8ac676ae786d9c0ea2ab3619f9f9de087ca7 Reviewed-on: https://gerrit.libreoffice.org/72135 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/toolkit/awt/vclxprinter.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/toolkit/awt/vclxprinter.hxx b/include/toolkit/awt/vclxprinter.hxx
index 60fb105b77d9..a22f52432136 100644
--- a/include/toolkit/awt/vclxprinter.hxx
+++ b/include/toolkit/awt/vclxprinter.hxx
@@ -22,7 +22,7 @@
#include <com/sun/star/awt/XPrinterPropertySet.hpp>
-#include <com/sun/star/awt/XPrinterServer.hpp>
+#include <com/sun/star/awt/XPrinterServer2.hpp>
#include <com/sun/star/awt/XInfoPrinter.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -175,14 +175,15 @@ public:
// class VCLXPrinterServer
-typedef ::cppu::WeakImplHelper < css::awt::XPrinterServer,
+typedef ::cppu::WeakImplHelper < css::awt::XPrinterServer2,
css::lang::XServiceInfo
> VCLXPrinterServer_Base;
class VCLXPrinterServer : public VCLXPrinterServer_Base
{
public:
- // css::awt::XPrinterServer
+ // css::awt::XPrinterServer2
css::uno::Sequence< OUString > SAL_CALL getPrinterNames( ) override;
+ OUString SAL_CALL getDefaultPrinterName() override;
css::uno::Reference< css::awt::XPrinter > SAL_CALL createPrinter( const OUString& printerName ) override;
css::uno::Reference< css::awt::XInfoPrinter > SAL_CALL createInfoPrinter( const OUString& printerName ) override;