diff options
author | Eike Rathke <erack@redhat.com> | 2016-04-01 15:27:08 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-04-01 15:28:37 +0200 |
commit | 4cfba1ff6b8f063ad3914bf88c0e7ab5c549bc08 (patch) | |
tree | 555c0f6720dc3e460d9f8354855933f0ecd0c8d9 | |
parent | 9a14c7e1a99b4559fd5035b055f041dac7f48522 (diff) |
we have an empty Sequence anyway, use it; cleanup follow-up
Change-Id: Ie7f3881a24e4bda09785b1d464fd2d2431a04e81
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx index 5ea343a6caa8..dba78b6b3794 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); |