diff options
Diffstat (limited to 'sdext/source/presenter/PresenterPaneBorderPainter.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterPaneBorderPainter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterPaneBorderPainter.cxx b/sdext/source/presenter/PresenterPaneBorderPainter.cxx index 689bb9d8b4d7..05051a2410cd 100644 --- a/sdext/source/presenter/PresenterPaneBorderPainter.cxx +++ b/sdext/source/presenter/PresenterPaneBorderPainter.cxx @@ -873,9 +873,9 @@ RendererPaneStyle::RendererPaneStyle ( mnFontYOffset = mpFont->mnYOffset; } - if (sAnchor.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Left"))) + if ( sAnchor == "Left" ) meFontAnchor = AnchorLeft; - else if (sAnchor.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Right"))) + else if ( sAnchor == "Right" ) meFontAnchor = AnchorRight; else meFontAnchor = AnchorCenter; |