From 4c539fac018dfd44cd8db52161a8cb930c627da7 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Tue, 17 Dec 2013 05:18:35 -0600 Subject: vcl get rid of xub_StrLen and STRING_LEN in outdev3 a new log section (sal.rtl.xub) is used to display alert in case of suspicious len == 0xFFFF (aka STRING_LEN) Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e Reviewed-on: https://gerrit.libreoffice.org/7117 Tested-by: LibreOffice gerrit bot Reviewed-by: Norbert Thiebaud --- cui/source/customize/acccfg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui') diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index b0755361a2d2..0968bbf85ce3 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -652,7 +652,7 @@ void SfxAccCfgLBoxString_Impl::Paint( if (pUserData->m_bIsConfigurable) rDevice.DrawText(aPos, GetText()); else - rDevice.DrawCtrlText(aPos, GetText(), 0, STRING_LEN, TEXT_DRAW_DISABLE); + rDevice.DrawCtrlText(aPos, GetText(), 0, -1, TEXT_DRAW_DISABLE); } -- cgit