summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drawview.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-11 12:21:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-11 14:32:40 +0200
commitd58c604eb35a84b849079d3a690d0a4f428d3121 (patch)
treee856015a5405cdea664ff8d4e5a75db3b7504898 /sd/source/ui/view/drawview.cxx
parent1ddbbe3e0aebfa86f284ac2712c0d1b36b36fe54 (diff)
convert DocumentType to scoped enum
Change-Id: I5a66d71db075df4680c54676dd1420e94c1a90b2
Diffstat (limited to 'sd/source/ui/view/drawview.cxx')
-rw-r--r--sd/source/ui/view/drawview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drawview.cxx b/sd/source/ui/view/drawview.cxx
index c170ee5e97df..f3da2e75ce24 100644
--- a/sd/source/ui/view/drawview.cxx
+++ b/sd/source/ui/view/drawview.cxx
@@ -464,7 +464,7 @@ void DrawView::CompleteRedraw(OutputDevice* pOutDev, const vcl::Region& rReg, sd
bool bStandardPaint = true;
SdDrawDocument* pDoc = mpDocShell->GetDoc();
- if( pDoc && pDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS)
+ if( pDoc && pDoc->GetDocumentType() == DocumentType::Impress)
{
rtl::Reference< sd::SlideShow > xSlideshow( SlideShow::GetSlideShow( pDoc ) );
if(xSlideshow.is() && xSlideshow->isRunning())