summaryrefslogtreecommitdiff
path: root/sfx2/source/doc
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r--sfx2/source/doc/printhelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx
index f217aa73d642..f0d2bac19464 100644
--- a/sfx2/source/doc/printhelper.cxx
+++ b/sfx2/source/doc/printhelper.cxx
@@ -55,7 +55,7 @@
#include <sfx2/objsh.hxx>
#include <sfx2/event.hxx>
-#define SFX_PRINTABLESTATE_CANCELJOB -2
+#define SFX_PRINTABLESTATE_CANCELJOB (css::view::PrintableState)-2
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -240,7 +240,7 @@ namespace
case view::PaperFormat_USER:
eRet = PAPER_USER;
break;
- case view::PaperFormat_MAKE_FIXED_SIZE:
+ case view::PaperFormat::PaperFormat_MAKE_FIXED_SIZE:
break;
//deliberate no default to force warn on a new papersize
}
@@ -812,7 +812,7 @@ void IMPL_PrintListener_DataContainer::Notify( SfxBroadcaster& rBC, const SfxHin
view::PrintJobEvent aEvent;
aEvent.Source = m_xPrintJob;
- aEvent.State = (css::view::PrintableState) pPrintHint->GetWhich();
+ aEvent.State = pPrintHint->GetWhich();
::cppu::OInterfaceIteratorHelper pIterator(*pContainer);
while (pIterator.hasMoreElements())