diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-24 09:36:29 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-24 09:36:59 +0200 |
commit | 799a7878fd5b3a5a01b59d0a4139a2b0908ccc43 (patch) | |
tree | 0354bc5656be965467e7e082ca5316168fc74c2d /basctl/source | |
parent | fba2d764d88582951f00af8184d481a6647a8564 (diff) |
convert SFX_PRINTER constants to enum class
Change-Id: I5dca39f7668be2c03c904c33b6181ba769b70990
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/basides2.cxx | 3 | ||||
-rw-r--r-- | basctl/source/inc/basidesh.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx index a05794c10090..e69c2234e2cb 100644 --- a/basctl/source/basicide/basides2.cxx +++ b/basctl/source/basicide/basides2.cxx @@ -86,9 +86,8 @@ SfxPrinter* Shell::GetPrinter( bool bCreate ) return 0; } -sal_uInt16 Shell::SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags, bool ) +sal_uInt16 Shell::SetPrinter( SfxPrinter *pNewPrinter, SfxPrinterChangeFlags , bool ) { - (void)nDiffFlags; DocShell* pDocShell = static_cast<DocShell*>(GetViewFrame()->GetObjectShell()); DBG_ASSERT( pDocShell, "DocShell ?!" ); pDocShell->SetPrinter( pNewPrinter ); diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx index 8ded0fcda3bd..1ed8f9f950a1 100644 --- a/basctl/source/inc/basidesh.hxx +++ b/basctl/source/inc/basidesh.hxx @@ -178,7 +178,7 @@ public: // virtual sal_uInt16 Print( SfxProgress &rProgress, sal_Bool bIsAPI, PrintDialog *pPrintDialog = 0 ); virtual SfxPrinter* GetPrinter( bool bCreate ) SAL_OVERRIDE; - virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false ) SAL_OVERRIDE; + virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false ) SAL_OVERRIDE; virtual OUString GetSelectionText( bool bCompleteWords ) SAL_OVERRIDE; virtual bool HasSelection( bool bText ) const SAL_OVERRIDE; |