oox: change instances of maName to more descriptive names
Change-Id: Iee410ec4d256eb5b663d88e048d5bf6200845256 Reviewed-on: https://gerrit.libreoffice.org/20959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ namespace oox {
|
||||
|
||||
struct GrabBagStackElement
|
||||
{
|
||||
OUString maName;
|
||||
OUString maElementName;
|
||||
std::vector<css::beans::PropertyValue> maPropertyList;
|
||||
};
|
||||
|
||||
@@ -34,11 +34,11 @@ private:
|
||||
GrabBagStackElement mCurrentElement;
|
||||
|
||||
public:
|
||||
GrabBagStack(const OUString& aName);
|
||||
GrabBagStack(const OUString& aElementName);
|
||||
|
||||
virtual ~GrabBagStack();
|
||||
|
||||
OUString getCurrentName() { return mCurrentElement.maName;}
|
||||
OUString getCurrentName() { return mCurrentElement.maElementName;}
|
||||
|
||||
css::beans::PropertyValue getRootProperty();
|
||||
|
||||
|
@@ -28,7 +28,7 @@ namespace oox { namespace ppt {
|
||||
|
||||
struct CustomShow
|
||||
{
|
||||
OUString maName;
|
||||
OUString maCustomShowName;
|
||||
OUString mnId;
|
||||
std::vector< OUString >maSldLst;
|
||||
};
|
||||
|
@@ -18,9 +18,9 @@ namespace oox
|
||||
using namespace css::beans;
|
||||
using namespace css::uno;
|
||||
|
||||
GrabBagStack::GrabBagStack(const OUString& aName)
|
||||
GrabBagStack::GrabBagStack(const OUString& aElementName)
|
||||
{
|
||||
mCurrentElement.maName = aName;
|
||||
mCurrentElement.maElementName = aElementName;
|
||||
}
|
||||
|
||||
GrabBagStack::~GrabBagStack()
|
||||
@@ -37,7 +37,7 @@ PropertyValue GrabBagStack::getRootProperty()
|
||||
pop();
|
||||
|
||||
PropertyValue aProperty;
|
||||
aProperty.Name = mCurrentElement.maName;
|
||||
aProperty.Name = mCurrentElement.maElementName;
|
||||
aProperty.Value = makeAny(comphelper::containerToSequence(mCurrentElement.maPropertyList));
|
||||
|
||||
return aProperty;
|
||||
@@ -54,13 +54,13 @@ void GrabBagStack::appendElement(const OUString& aName, Any aAny)
|
||||
void GrabBagStack::push(const OUString& aKey)
|
||||
{
|
||||
mStack.push(mCurrentElement);
|
||||
mCurrentElement.maName = aKey;
|
||||
mCurrentElement.maElementName = aKey;
|
||||
mCurrentElement.maPropertyList.clear();
|
||||
}
|
||||
|
||||
void GrabBagStack::pop()
|
||||
{
|
||||
OUString aName = mCurrentElement.maName;
|
||||
OUString aName = mCurrentElement.maElementName;
|
||||
Sequence<PropertyValue> aSequence(comphelper::containerToSequence(mCurrentElement.maPropertyList));
|
||||
mCurrentElement = mStack.top();
|
||||
mStack.pop();
|
||||
|
@@ -43,7 +43,7 @@ CustomShowContext::CustomShowContext( FragmentHandler2& rParent,
|
||||
: FragmentHandler2( rParent )
|
||||
, mrCustomShow( rCustomShow )
|
||||
{
|
||||
mrCustomShow.maName = rxAttribs->getOptionalValue( XML_name );
|
||||
mrCustomShow.maCustomShowName = rxAttribs->getOptionalValue( XML_name );
|
||||
mrCustomShow.mnId = rxAttribs->getOptionalValue( XML_id );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user