sdext/source/presenter/PresenterPaneBorderPainter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 55b077ca4afdc181e8998313e131448bbab723f5 Author: Stephan Bergmann <[email protected]> Date: Mon Sep 7 17:03:45 2015 +0200 Work around bogus warning C4701: potentially uninitialized local variable Change-Id: I9c5d9c53785828b3535c960f826ccd3720b2e4c3 diff --git a/sdext/source/presenter/PresenterPaneBorderPainter.cxx b/sdext/source/presenter/PresenterPaneBorderPainter.cxx index b4b45ee..97f6781 100644 --- a/sdext/source/presenter/PresenterPaneBorderPainter.cxx +++ b/sdext/source/presenter/PresenterPaneBorderPainter.cxx @@ -550,7 +550,7 @@ void PresenterPaneBorderPainter::Renderer::PaintTitle ( case RendererPaneStyle::Anchor::Right: nX = rInnerBox.X + rInnerBox.Width - nTextWidth; break; - case RendererPaneStyle::Anchor::Center: + default: // RendererPaneStyle::Anchor::Center nX = rInnerBox.X + (rInnerBox.Width - nTextWidth)/2; break; } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
