Kaydet (Commit) 1d4c0528 authored tarafından Chris Sherlock's avatar Chris Sherlock

oox: change instances of maName to more descriptive names

Change-Id: Iee410ec4d256eb5b663d88e048d5bf6200845256
Reviewed-on: https://gerrit.libreoffice.org/20959Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarChris Sherlock <chris.sherlock79@gmail.com>
üst 422bedb7
...@@ -22,7 +22,7 @@ namespace oox { ...@@ -22,7 +22,7 @@ namespace oox {
struct GrabBagStackElement struct GrabBagStackElement
{ {
OUString maName; OUString maElementName;
std::vector<css::beans::PropertyValue> maPropertyList; std::vector<css::beans::PropertyValue> maPropertyList;
}; };
...@@ -34,11 +34,11 @@ private: ...@@ -34,11 +34,11 @@ private:
GrabBagStackElement mCurrentElement; GrabBagStackElement mCurrentElement;
public: public:
GrabBagStack(const OUString& aName); GrabBagStack(const OUString& aElementName);
virtual ~GrabBagStack(); virtual ~GrabBagStack();
OUString getCurrentName() { return mCurrentElement.maName;} OUString getCurrentName() { return mCurrentElement.maElementName;}
css::beans::PropertyValue getRootProperty(); css::beans::PropertyValue getRootProperty();
......
...@@ -28,7 +28,7 @@ namespace oox { namespace ppt { ...@@ -28,7 +28,7 @@ namespace oox { namespace ppt {
struct CustomShow struct CustomShow
{ {
OUString maName; OUString maCustomShowName;
OUString mnId; OUString mnId;
std::vector< OUString >maSldLst; std::vector< OUString >maSldLst;
}; };
......
...@@ -18,9 +18,9 @@ namespace oox ...@@ -18,9 +18,9 @@ namespace oox
using namespace css::beans; using namespace css::beans;
using namespace css::uno; using namespace css::uno;
GrabBagStack::GrabBagStack(const OUString& aName) GrabBagStack::GrabBagStack(const OUString& aElementName)
{ {
mCurrentElement.maName = aName; mCurrentElement.maElementName = aElementName;
} }
GrabBagStack::~GrabBagStack() GrabBagStack::~GrabBagStack()
...@@ -37,7 +37,7 @@ PropertyValue GrabBagStack::getRootProperty() ...@@ -37,7 +37,7 @@ PropertyValue GrabBagStack::getRootProperty()
pop(); pop();
PropertyValue aProperty; PropertyValue aProperty;
aProperty.Name = mCurrentElement.maName; aProperty.Name = mCurrentElement.maElementName;
aProperty.Value = makeAny(comphelper::containerToSequence(mCurrentElement.maPropertyList)); aProperty.Value = makeAny(comphelper::containerToSequence(mCurrentElement.maPropertyList));
return aProperty; return aProperty;
...@@ -54,13 +54,13 @@ void GrabBagStack::appendElement(const OUString& aName, Any aAny) ...@@ -54,13 +54,13 @@ void GrabBagStack::appendElement(const OUString& aName, Any aAny)
void GrabBagStack::push(const OUString& aKey) void GrabBagStack::push(const OUString& aKey)
{ {
mStack.push(mCurrentElement); mStack.push(mCurrentElement);
mCurrentElement.maName = aKey; mCurrentElement.maElementName = aKey;
mCurrentElement.maPropertyList.clear(); mCurrentElement.maPropertyList.clear();
} }
void GrabBagStack::pop() void GrabBagStack::pop()
{ {
OUString aName = mCurrentElement.maName; OUString aName = mCurrentElement.maElementName;
Sequence<PropertyValue> aSequence(comphelper::containerToSequence(mCurrentElement.maPropertyList)); Sequence<PropertyValue> aSequence(comphelper::containerToSequence(mCurrentElement.maPropertyList));
mCurrentElement = mStack.top(); mCurrentElement = mStack.top();
mStack.pop(); mStack.pop();
......
...@@ -43,7 +43,7 @@ CustomShowContext::CustomShowContext( FragmentHandler2& rParent, ...@@ -43,7 +43,7 @@ CustomShowContext::CustomShowContext( FragmentHandler2& rParent,
: FragmentHandler2( rParent ) : FragmentHandler2( rParent )
, mrCustomShow( rCustomShow ) , mrCustomShow( rCustomShow )
{ {
mrCustomShow.maName = rxAttribs->getOptionalValue( XML_name ); mrCustomShow.maCustomShowName = rxAttribs->getOptionalValue( XML_name );
mrCustomShow.mnId = rxAttribs->getOptionalValue( XML_id ); mrCustomShow.mnId = rxAttribs->getOptionalValue( XML_id );
} }
......
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