vcl/unx/gtk/window/gtksalframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c9fd4aa8aa969ef2b669813acee15d6efcf1ecde Author: Justin Luth <justin_l...@sil.org> Date: Sat May 30 11:20:20 2015 +0300 getCaretPosition() returns a signed int, not an unsigned one Making all references to getCaretPosition() consistent in this file, since I had to change it elsewhere. Change-Id: I2046370e9ca7a89e3dc4fa446311bc1575292422 Reviewed-on: https://gerrit.libreoffice.org/15991 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noelgran...@gmail.com> diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx index 239514e..e981e05 100644 --- a/vcl/unx/gtk/window/gtksalframe.cxx +++ b/vcl/unx/gtk/window/gtksalframe.cxx @@ -4490,7 +4490,7 @@ gboolean GtkSalFrame::IMHandler::signalIMRetrieveSurrounding( GtkIMContext* pCon uno::Reference<accessibility::XAccessibleEditableText> xText = lcl_GetxText(pFocusWin); if (xText.is()) { - sal_uInt32 nPosition = xText->getCaretPosition(); + sal_Int32 nPosition = xText->getCaretPosition(); OUString sAllText = xText->getText(); OString sUTF = OUStringToOString(sAllText, RTL_TEXTENCODING_UTF8); OUString sCursorText(sAllText.copy(0, nPosition)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits