summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/vba/vbaselection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbaselection.cxx')
-rw-r--r--sw/source/ui/vba/vbaselection.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/vba/vbaselection.cxx b/sw/source/ui/vba/vbaselection.cxx
index 83f5d491bd27..309227c30354 100644
--- a/sw/source/ui/vba/vbaselection.cxx
+++ b/sw/source/ui/vba/vbaselection.cxx
@@ -243,7 +243,7 @@ SwVbaSelection::Move( const uno::Any& _unit, const uno::Any& _count, const uno::
{
if( nExtend == word::WdMovementType::wdExtend )
{
- DebugHelper::basicexception(ERRCODE_BASIC_BAD_ARGUMENT, OUString());
+ DebugHelper::basicexception(ERRCODE_BASIC_BAD_ARGUMENT, {});
return;
}
NextCell( nCount, eDirection );
@@ -352,7 +352,7 @@ void SwVbaSelection::NextCell(sal_Int32 nCount, word::E_DIRECTION eDirection)
xCursorProps->getPropertyValue("Cell") >>= xCell;
if( !xTextTable.is() || !xCell.is() )
{
- DebugHelper::basicexception(ERRCODE_BASIC_BAD_ARGUMENT, OUString());
+ DebugHelper::basicexception(ERRCODE_BASIC_BAD_ARGUMENT, {});
return;
}
uno::Reference< beans::XPropertySet > xCellProps( xCell, uno::UNO_QUERY_THROW );
@@ -384,7 +384,7 @@ void SwVbaSelection::NextCell(sal_Int32 nCount, word::E_DIRECTION eDirection)
}
default:
{
- DebugHelper::basicexception(ERRCODE_BASIC_BAD_ARGUMENT, OUString());
+ DebugHelper::basicexception(ERRCODE_BASIC_BAD_ARGUMENT, {});
return;
}
}
@@ -550,7 +550,7 @@ uno::Reference< word::XRange > SAL_CALL SwVbaSelection::GoTo( const uno::Any& _w
{
sal_Int32 nWhat = 0;
if( !( _what >>= nWhat ) )
- DebugHelper::basicexception(ERRCODE_BASIC_BAD_ARGUMENT, OUString());
+ DebugHelper::basicexception(ERRCODE_BASIC_BAD_ARGUMENT, {});
switch( nWhat )
{
case word::WdGoToItem::wdGoToBookmark: