summaryrefslogtreecommitdiff
path: root/svx/source/table/tablelayouter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/table/tablelayouter.cxx')
-rw-r--r--svx/source/table/tablelayouter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx
index ed944fb3c1e1..0c517707f4f8 100644
--- a/svx/source/table/tablelayouter.cxx
+++ b/svx/source/table/tablelayouter.cxx
@@ -582,7 +582,7 @@ void TableLayouter::LayoutTableWidth( tools::Rectangle& rArea, bool bFit )
MergeVector aMergedCells( nColCount );
std::vector<sal_Int32> aOptimalColumns;
- const OUString sOptimalSize("OptimalSize");
+ static const OUStringLiteral sOptimalSize(u"OptimalSize");
if( sal::static_int_cast< sal_Int32 >( maColumns.size() ) != nColCount )
maColumns.resize( nColCount );
@@ -734,7 +734,7 @@ void TableLayouter::LayoutTableHeight( tools::Rectangle& rArea, bool bFit )
MergeVector aMergedCells( nRowCount );
std::vector<sal_Int32> aOptimalRows;
- const OUString sOptimalSize("OptimalSize");
+ static const OUStringLiteral sOptimalSize(u"OptimalSize");
// first calculate current height and initial minimum size per column,
// merged cells will be counted later