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 5478e9daf75e..85c8b1b32cf8 100644
--- a/include/toolkit/awt/vclxprinter.hxx
+++ b/include/toolkit/awt/vclxprinter.hxx
@@ -23,7 +23,7 @@
#include <com/sun/star/awt/XPrinterPropertySet.hpp>
#include <com/sun/star/awt/XPrinter.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>
#include <com/sun/star/lang/XTypeProvider.hpp>
@@ -174,14 +174,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;