summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-16 12:49:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-16 12:49:30 +0100
commit3ccc2c027cf30d94414e5c1e26f9bb2d878aff82 (patch)
tree584e852dd0f5c820d57a3f1b55cb6508659ccf29 /sd
parent06ea887f8ba34a628d7641eab210501f7bd2493d (diff)
Better way of converting from OUStringLiteral to OString
Change-Id: If31548d280fa8cabced50f3d2e78abde1b2562e5
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/table/TableDesignPane.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/table/TableDesignPane.cxx b/sd/source/ui/table/TableDesignPane.cxx
index 41f1ad8ef807..fbb9cc263818 100644
--- a/sd/source/ui/table/TableDesignPane.cxx
+++ b/sd/source/ui/table/TableDesignPane.cxx
@@ -110,7 +110,7 @@ TableDesignWidget::TableDesignWidget( VclBuilderContainer* pParent, ViewShellBas
for (sal_uInt16 i = CB_HEADER_ROW; i <= CB_BANDED_COLUMNS; ++i)
{
- pParent->get(m_aCheckBoxes[i], OUStringToOString(gPropNames[i], RTL_TEXTENCODING_UTF8));
+ pParent->get(m_aCheckBoxes[i], OString(gPropNames[i].data, gPropNames[i].size));
m_aCheckBoxes[i]->SetClickHdl( LINK( this, TableDesignWidget, implCheckBoxHdl ) );
}