[Libreoffice-commits] core.git: sw/source
Muhammet Kara
muhammet.kara at pardus.org.tr
Wed Oct 18 15:53:33 UTC 2017
sw/source/ui/vba/vbarow.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 2874a31e4830c2e899a057530e9799bbae456d79
Author: Muhammet Kara <muhammet.kara at pardus.org.tr>
Date: Sun Oct 15 14:33:41 2017 +0000
Fix spacing
and use the hungarian prefix 's' for the string.
Inconsistent spacing introduced with:
2b5b8fd39c93166d9e6e696c010482413b155f78
Change-Id: Ieee55f51ec6c87b087365f7460097d5cc997a261
Reviewed-on: https://gerrit.libreoffice.org/43405
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Muhammet Kara <muhammet.kara at pardus.org.tr>
diff --git a/sw/source/ui/vba/vbarow.cxx b/sw/source/ui/vba/vbarow.cxx
index 088ecfbfaa53..2255ce34c1a5 100644
--- a/sw/source/ui/vba/vbarow.cxx
+++ b/sw/source/ui/vba/vbarow.cxx
@@ -82,16 +82,16 @@ SwVbaRow::Select( )
void SwVbaRow::SelectRow( const uno::Reference< frame::XModel >& xModel, const uno::Reference< text::XTextTable >& xTextTable, sal_Int32 nStartRow, sal_Int32 nEndRow )
{
- OUString aRangeName = "A" + OUString::number(nStartRow + 1);
+ OUString sRangeName = "A" + OUString::number(nStartRow + 1);
SwVbaTableHelper aTableHelper( xTextTable );
sal_Int32 nColCount = aTableHelper.getTabColumnsCount( nEndRow );
// FIXME: the column count > 26
//sal_Char cCol = 'A' + nColCount - 1;
OUString sCol = SwVbaTableHelper::getColumnStr( nColCount - 1);
- aRangeName += ":" +sCol + OUString::number(nEndRow + 1);
+ sRangeName += ":" + sCol + OUString::number(nEndRow + 1);
uno::Reference< table::XCellRange > xCellRange( xTextTable, uno::UNO_QUERY_THROW );
- uno::Reference< table::XCellRange > xSelRange = xCellRange->getCellRangeByName( aRangeName );
+ uno::Reference< table::XCellRange > xSelRange = xCellRange->getCellRangeByName( sRangeName );
uno::Reference< view::XSelectionSupplier > xSelection( xModel->getCurrentController(), uno::UNO_QUERY_THROW );
xSelection->select( uno::makeAny( xSelRange ) );
More information about the Libreoffice-commits
mailing list