[Libreoffice-commits] core.git: sd/source
Stephan Bergmann
sbergman at redhat.com
Fri Dec 16 11:50:05 UTC 2016
sd/source/ui/table/TableDesignPane.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3ccc2c027cf30d94414e5c1e26f9bb2d878aff82
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Dec 16 12:49:30 2016 +0100
Better way of converting from OUStringLiteral to OString
Change-Id: If31548d280fa8cabced50f3d2e78abde1b2562e5
diff --git a/sd/source/ui/table/TableDesignPane.cxx b/sd/source/ui/table/TableDesignPane.cxx
index 41f1ad8..fbb9cc2 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 ) );
}
More information about the Libreoffice-commits
mailing list