summaryrefslogtreecommitdiff
path: root/svx/source/dialog/dialcontrol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/dialcontrol.cxx')
-rw-r--r--svx/source/dialog/dialcontrol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx
index 21755f8d25fc..8c318494870a 100644
--- a/svx/source/dialog/dialcontrol.cxx
+++ b/svx/source/dialog/dialcontrol.cxx
@@ -87,7 +87,7 @@ void DialControlBmp::DrawElements( const OUString& rText, sal_Int32 nAngle )
long nX = static_cast< long >( mnCenterX - fWidth * fCos - fHeight * fSin );
long nY = static_cast< long >( mnCenterY + fWidth * fSin - fHeight * fCos );
Rectangle aRect( nX, nY, 2 * mnCenterX - nX, 2 * mnCenterY - nY );
- DrawText( aRect, rText, mbEnabled ? 0 : TEXT_DRAW_DISABLE );
+ DrawText( aRect, rText, mbEnabled ? DrawTextFlags::NONE : DrawTextFlags::Disable );
}
else
{