diff options
Diffstat (limited to 'oox/source/ppt/commonbehaviorcontext.cxx')
-rw-r--r-- | oox/source/ppt/commonbehaviorcontext.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/oox/source/ppt/commonbehaviorcontext.cxx b/oox/source/ppt/commonbehaviorcontext.cxx index e4e0b1842b86..14c6c6ba0477 100644 --- a/oox/source/ppt/commonbehaviorcontext.cxx +++ b/oox/source/ppt/commonbehaviorcontext.cxx @@ -35,8 +35,6 @@ #include <string.h> -using ::rtl::OUString; -using ::rtl::OUStringBuffer; using namespace ::oox::core; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::xml::sax; @@ -95,7 +93,7 @@ namespace oox { namespace ppt { if(msCurrentAttribute.compareToAscii( attrConv->mpMSName ) == 0 ) { Attribute attr; - attr.name = ::rtl::OUString::intern( attrConv->mpAPIName, + attr.name = OUString::intern( attrConv->mpAPIName, strlen(attrConv->mpAPIName), RTL_TEXTENCODING_ASCII_US ); attr.type = attrConv->meAttribute; |