summaryrefslogtreecommitdiff
path: root/canvas/source/directx/dx_canvashelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/directx/dx_canvashelper.cxx')
-rw-r--r--[-rwxr-xr-x]canvas/source/directx/dx_canvashelper.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/canvas/source/directx/dx_canvashelper.cxx b/canvas/source/directx/dx_canvashelper.cxx
index 866cc0f03ec3..5cb18200991d 100755..100644
--- a/canvas/source/directx/dx_canvashelper.cxx
+++ b/canvas/source/directx/dx_canvashelper.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -90,8 +91,7 @@ namespace dxcanvas
switch( nJoinType )
{
case rendering::PathJoinType::NONE:
- OSL_ENSURE( false,
- "gdiJoinFromJoin(): Join NONE not possible, mapping to MITER" );
+ OSL_FAIL( "gdiJoinFromJoin(): Join NONE not possible, mapping to MITER" );
// FALLTHROUGH intended
case rendering::PathJoinType::MITER:
return Gdiplus::LineJoinMiter;
@@ -812,3 +812,5 @@ namespace dxcanvas
mpGraphicsProvider->getGraphics()->Flush( Gdiplus::FlushIntentionSync );
}
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */