summaryrefslogtreecommitdiff
path: root/include/toolkit/awt/vclxprinter.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/toolkit/awt/vclxprinter.hxx')
-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;