[Libreoffice-commits] core.git: cui/source
Julien Nabet
serval2412 at yahoo.fr
Thu Jan 15 11:19:12 PST 2015
cui/source/dialogs/zoom.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 422b8dedd0378ab830836f4cf64a34223c6c01cc
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu Jan 15 20:17:40 2015 +0100
coverity#1264393/1264394: missing break
Change-Id: Idfca6110d3170a94efaa9ac51902893d9403c27d
diff --git a/cui/source/dialogs/zoom.cxx b/cui/source/dialogs/zoom.cxx
index 5107c6e..fa8b53e 100644
--- a/cui/source/dialogs/zoom.cxx
+++ b/cui/source/dialogs/zoom.cxx
@@ -77,16 +77,19 @@ void SvxZoomDialog::SetFactor(sal_uInt16 nNewFactor, sal_uInt16 nButtonId)
{
m_pOptimalBtn->Check();
m_pOptimalBtn->GrabFocus();
+ break;
}
case ZOOMBTN_PAGEWIDTH:
{
m_pPageWidthBtn->Check();
m_pPageWidthBtn->GrabFocus();
+ break;
}
case ZOOMBTN_WHOLEPAGE:
{
m_pWholePageBtn->Check();
m_pWholePageBtn->GrabFocus();
+ break;
}
}
}
More information about the Libreoffice-commits
mailing list