summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-30 15:32:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-31 06:59:13 +0000
commit7fca8e61ce992e9dc6f900b77142a123c0c10b6d (patch)
treecaa7669600339d34fc5e5b1288cf76fe641cebc3 /include/sfx2
parent7acbf45fcc6e2f8672bbecc4787cbcea8967219b (diff)
use actual UNO enums in sfx2
Change-Id: Ide3ce0bc1afc9de46c2d06b161acff8d32fe1193 Reviewed-on: https://gerrit.libreoffice.org/35911 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/event.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/event.hxx b/include/sfx2/event.hxx
index f0fc85500c72..ec57c9d5bf55 100644
--- a/include/sfx2/event.hxx
+++ b/include/sfx2/event.hxx
@@ -116,11 +116,11 @@ class Printer;
class SfxPrintingHint : public SfxViewEventHint
{
- sal_Int32 mnPrintableState;
+ css::view::PrintableState mnPrintableState;
css::uno::Sequence < css::beans::PropertyValue > aOpts;
public:
SfxPrintingHint(
- sal_Int32 nState,
+ css::view::PrintableState nState,
const css::uno::Sequence < css::beans::PropertyValue >& rOpts,
SfxObjectShell *pObj,
const css::uno::Reference< css::frame::XController2 >& xController )
@@ -133,12 +133,12 @@ public:
, aOpts( rOpts )
{}
- SfxPrintingHint( sal_Int32 nState )
+ SfxPrintingHint( css::view::PrintableState nState )
: SfxViewEventHint( SfxEventHintId::PrintDoc, rtl::OUString(), nullptr, css::uno::Reference< css::frame::XController >() )
, mnPrintableState( nState )
{}
- sal_Int32 GetWhich() const { return mnPrintableState; }
+ css::view::PrintableState GetWhich() const { return mnPrintableState; }
const css::uno::Sequence < css::beans::PropertyValue >& GetOptions() const { return aOpts; }
};