diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-30 18:53:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-30 18:53:19 +0200 |
commit | a429d4317d2d4f9d6a1a39d996ee9fa41096d741 (patch) | |
tree | 8175c45f0dfcb23ed27f2cc245cdff2a96b1e8ef | |
parent | ec822b7b716ebb14e717513aeaaf97a45b98bee9 (diff) |
aThemeName is unused
...ever since fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import"
Change-Id: I7412d3e72aef6835a0d18c5849d2664ba21be057
-rw-r--r-- | svx/source/gallery2/galtheme.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx index 3a7377d65ff5..4b3576eda7b3 100644 --- a/svx/source/gallery2/galtheme.cxx +++ b/svx/source/gallery2/galtheme.cxx @@ -1368,23 +1368,16 @@ SvStream& GalleryTheme::ReadData( SvStream& rIStm ) { sal_uInt32 nCount; sal_uInt16 nVersion; - OUString aThemeName; - rtl_TextEncoding nTextEncoding; rIStm.ReadUInt16( nVersion ); - OString aTmpStr = read_uInt16_lenPrefixed_uInt8s_ToOString(rIStm); + read_uInt16_lenPrefixed_uInt8s_ToOString(rIStm); rIStm.ReadUInt32( nCount ); if( nVersion >= 0x0004 ) { sal_uInt16 nTmp16; rIStm.ReadUInt16( nTmp16 ); - nTextEncoding = (rtl_TextEncoding) nTmp16; } - else - nTextEncoding = RTL_TEXTENCODING_UTF8; - - aThemeName = OStringToOUString(aTmpStr, nTextEncoding); if( nCount <= ( 1L << 14 ) ) { |