summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/a11y/atktextattributes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk/a11y/atktextattributes.cxx')
-rw-r--r--vcl/unx/gtk/a11y/atktextattributes.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/a11y/atktextattributes.cxx b/vcl/unx/gtk/a11y/atktextattributes.cxx
index a8c7c8e3cdae..5582215b8cb4 100644
--- a/vcl/unx/gtk/a11y/atktextattributes.cxx
+++ b/vcl/unx/gtk/a11y/atktextattributes.cxx
@@ -387,7 +387,7 @@ Adjust2Justification(const uno::Any& rAny)
{
const gchar * value = nullptr;
- switch( (style::ParagraphAdjust)rAny.get<short>() )
+ switch( static_cast<style::ParagraphAdjust>(rAny.get<short>()) )
{
case style::ParagraphAdjust_LEFT:
value = "left";
@@ -432,7 +432,7 @@ Justification2Adjust( uno::Any& rAny, const gchar * value )
else
return false;
- rAny <<= (short)nParagraphAdjust;
+ rAny <<= static_cast<short>(nParagraphAdjust);
return true;
}