[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Fri Apr 1 13:29:27 UTC 2016
sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4cfba1ff6b8f063ad3914bf88c0e7ab5c549bc08
Author: Eike Rathke <erack at redhat.com>
Date: Fri Apr 1 15:27:08 2016 +0200
we have an empty Sequence anyway, use it; cleanup follow-up
Change-Id: Ie7f3881a24e4bda09785b1d464fd2d2431a04e81
diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index 5ea343a..dba78b6 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -848,10 +848,10 @@ uno::Sequence< sal_Int32 > SAL_CALL ScAccessibleSpreadsheet::getSelectedAccessib
{
SolarMutexGuard aGuard;
IsObjectValid();
+ uno::Sequence<sal_Int32> aSequence;
if (IsFormulaMode() || !mpViewShell)
- return uno::Sequence<sal_Int32>();
+ return aSequence;
- uno::Sequence<sal_Int32> aSequence;
aSequence.realloc(maRange.aEnd.Col() - maRange.aStart.Col() + 1);
sal_Int32* pSequence = aSequence.getArray();
sal_Int32 nCount(0);
More information about the Libreoffice-commits
mailing list