summaryrefslogtreecommitdiff
path: root/oox/source/helper
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2010-08-26 18:37:44 +0200
committerDaniel Rentz <dr@openoffice.org>2010-08-26 18:37:44 +0200
commit04c272eb8396e58376d2b61baee01c4a95f993b4 (patch)
tree489606116a897ec3c0186161269670b0e8c66146 /oox/source/helper
parent4d9f54e9f020c91c7fda048bcf3f7549d58bc2b4 (diff)
dr77: #i114128# import legacy drawing controls
Diffstat (limited to 'oox/source/helper')
-rw-r--r--oox/source/helper/attributelist.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/oox/source/helper/attributelist.cxx b/oox/source/helper/attributelist.cxx
index 1f365a1fdacd..ae10c290b425 100644
--- a/oox/source/helper/attributelist.cxx
+++ b/oox/source/helper/attributelist.cxx
@@ -29,6 +29,7 @@
#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
+#include "oox/token/tokenmap.hxx"
namespace oox {
@@ -77,6 +78,11 @@ sal_Unicode lclGetXChar( const sal_Unicode*& rpcStr, const sal_Unicode* pcEnd )
// ----------------------------------------------------------------------------
+sal_Int32 AttributeConversion::decodeToken( const OUString& rValue )
+{
+ return StaticTokenMap::get().getTokenFromUnicode( rValue );
+}
+
OUString AttributeConversion::decodeXString( const OUString& rValue )
{
// string shorter than one encoded character - no need to decode