Kaydet (Commit) 9d7f03f2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-private-field

Change-Id: Ifb599354720369458a43d8e1e7bca9ceb24d7c7d
üst a2aed0e8
...@@ -649,9 +649,8 @@ void SvxCSS1PropertyInfo::SetBoxItem( SfxItemSet& rItemSet, ...@@ -649,9 +649,8 @@ void SvxCSS1PropertyInfo::SetBoxItem( SfxItemSet& rItemSet,
DestroyBorderInfos(); DestroyBorderInfos();
} }
SvxCSS1MapEntry::SvxCSS1MapEntry( const OUString& rKey, const SfxItemSet& rItemSet, SvxCSS1MapEntry::SvxCSS1MapEntry( const SfxItemSet& rItemSet,
const SvxCSS1PropertyInfo& rProp ) : const SvxCSS1PropertyInfo& rProp ) :
aKey( rKey.toAsciiUpperCase() ),
aItemSet( rItemSet ), aItemSet( rItemSet ),
aPropInfo( rProp ) aPropInfo( rProp )
{} {}
...@@ -928,7 +927,7 @@ void SvxCSS1Parser::InsertMapEntry( const OUString& rKey, ...@@ -928,7 +927,7 @@ void SvxCSS1Parser::InsertMapEntry( const OUString& rKey,
CSS1Map::iterator itr = rMap.find(rKey); CSS1Map::iterator itr = rMap.find(rKey);
if (itr == rMap.end()) if (itr == rMap.end())
{ {
rMap.insert(std::make_pair(rKey, o3tl::make_unique<SvxCSS1MapEntry>(rKey, rItemSet, rProp))); rMap.insert(std::make_pair(rKey, o3tl::make_unique<SvxCSS1MapEntry>(rItemSet, rProp)));
} }
else else
{ {
......
...@@ -154,7 +154,6 @@ public: ...@@ -154,7 +154,6 @@ public:
class SvxCSS1MapEntry class SvxCSS1MapEntry
{ {
OUString aKey;
SfxItemSet aItemSet; SfxItemSet aItemSet;
SvxCSS1PropertyInfo aPropInfo; SvxCSS1PropertyInfo aPropInfo;
...@@ -163,7 +162,7 @@ public: ...@@ -163,7 +162,7 @@ public:
aItemSet( rPool, pWhichMap ) aItemSet( rPool, pWhichMap )
{} {}
SvxCSS1MapEntry( const OUString& rKey, const SfxItemSet& rItemSet, SvxCSS1MapEntry( const SfxItemSet& rItemSet,
const SvxCSS1PropertyInfo& rProp ); const SvxCSS1PropertyInfo& rProp );
const SfxItemSet& GetItemSet() const { return aItemSet; } const SfxItemSet& GetItemSet() const { return aItemSet; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment