summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-24 10:48:46 +0200
committerNoel Grandin <noel@peralex.com>2015-03-24 10:51:22 +0200
commita6df3c0babf409d8fc0bf52efd9c2fa74a95998e (patch)
treed62c0cbb3ed6432f6199c36deb982d1f49a2841b
parentf2edd09bf3ab4f705818a9d7bae58a72e78f102c (diff)
fix windows build
"error: a scoped enumeration cannot be redeclared as an unscoped enumeration" caused by my commit 5d37fa2a710e3bd76d3f1e18d1d66b8a4ab1503 "convert SvxZoomType to enum class" Change-Id: I26e6f9e7c608aaf1a1fbfe370d8a1bafc57c2983
-rw-r--r--sw/source/core/view/pagepreviewlayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/view/pagepreviewlayout.cxx b/sw/source/core/view/pagepreviewlayout.cxx
index 368a38882390..722c5dce4faf 100644
--- a/sw/source/core/view/pagepreviewlayout.cxx
+++ b/sw/source/core/view/pagepreviewlayout.cxx
@@ -254,7 +254,7 @@ void SwPagePreviewLayout::_ApplyNewZoomAtViewShell( sal_uInt8 _aNewZoom )
{
aNewViewOptions.SetZoom( _aNewZoom );
//#i19975# - consider zoom type.
- enum SvxZoomType eZoomType = SvxZoomType::PERCENT;
+ SvxZoomType eZoomType = SvxZoomType::PERCENT;
aNewViewOptions.SetZoomType( eZoomType );
mrParentViewShell.ApplyViewOptions( aNewViewOptions );
}