[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Fri Feb 21 04:31:55 PST 2014
vcl/source/app/settings.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dd30c02aad0f5b65ab42ca288d17f5040bc9efa0
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Feb 21 13:30:57 2014 +0100
Silence false "control reaches end of non-void function" warning
Change-Id: I4614f445b23aa5c498b7b64a181cb5ca74f18081
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx
index 85f76e6..a5b7dd9 100644
--- a/vcl/source/app/settings.cxx
+++ b/vcl/source/app/settings.cxx
@@ -718,7 +718,7 @@ bool StyleSettings::GetUseImagesInMenus() const
return false;
case AUTO_STATE_ON:
return true;
- case AUTO_STATE_AUTO:
+ default: // AUTO_STATE_AUTO:
return GetPreferredUseImagesInMenus();
}
}
More information about the Libreoffice-commits
mailing list