summaryrefslogtreecommitdiff
path: root/svx/source/table/svdotable.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-03-25 09:53:33 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-03-25 10:06:26 +0100
commita0656ec6fc2b41e65f1b40dbd64f546175e2762f (patch)
treec0d3443a27d9dc10266760110e96b50cce46ef02 /svx/source/table/svdotable.cxx
parente9c6fd6b4d09ee59b6a86942cbf001f2ba9782e6 (diff)
const OUString -> const OUStringLiteral
Mostly automated rewrite Change-Id: Ie020a083f898bc126b8fb039d4ecb2e687172da1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112965 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx/source/table/svdotable.cxx')
-rw-r--r--svx/source/table/svdotable.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index 66be795a8817..5d387afc5236 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -323,7 +323,7 @@ void SdrTableObjImpl::CropTableModelToSelection(const CellPos& rStart, const Cel
// copy row heights
Reference< XTableRows > xNewRows(mxTable->getRows(), css::uno::UNO_SET_THROW );
- const OUString sHeight( "Height" );
+ static const OUStringLiteral sHeight( u"Height" );
for( sal_Int32 nRow = 0; nRow < nRows; ++nRow )
{
Reference< XPropertySet > xNewSet( xNewRows->getByIndex( nRow ), UNO_QUERY_THROW );
@@ -332,7 +332,7 @@ void SdrTableObjImpl::CropTableModelToSelection(const CellPos& rStart, const Cel
// copy column widths
Reference< XTableColumns > xNewColumns( mxTable->getColumns(), css::uno::UNO_SET_THROW );
- const OUString sWidth( "Width" );
+ static const OUStringLiteral sWidth( u"Width" );
for( sal_Int32 nCol = 0; nCol < nColumns; ++nCol )
{
Reference< XPropertySet > xNewSet( xNewColumns->getByIndex( nCol ), UNO_QUERY_THROW );
@@ -591,7 +591,7 @@ void SdrTableObjImpl::DragEdge( bool mbHorizontal, int nEdge, sal_Int32 nOffset
try
{
- const OUString sSize( "Size" );
+ static const OUStringLiteral sSize( u"Size" );
if( mbHorizontal )
{
if (nEdge <= getRowCount())