Kaydet (Commit) 7c02faf5 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Properly hide implementation details.

If we are to hide, let's hide all.

Change-Id: Ic68926ee099ac80d2d477d68e3769a7203dfea6c
üst 077c80b9
......@@ -41,14 +41,10 @@ class SvXMLExport;
class XMLOFF_DLLPUBLIC SvXMLExportPropertyMapper : public UniRefBase
{
UniReference< SvXMLExportPropertyMapper> mxNextMapper;
FilterPropertiesInfos_Impl *pCache;
struct Impl;
Impl* mpImpl;
protected:
UniReference< XMLPropertySetMapper > maPropMapper;
OUString maStyleName;
/** Filter all properties we don't want to export:
Take all properties of the XPropertySet which are also found in the
......@@ -177,10 +173,10 @@ public:
const ::std::vector< XMLPropertyState > *pProperties = 0,
sal_uInt32 nIdx = 0 ) const;
inline const UniReference< XMLPropertySetMapper >&
getPropertySetMapper() const { return maPropMapper; }
const UniReference<XMLPropertySetMapper>& getPropertySetMapper() const;
void SetStyleName( const OUString& rStyleName ) { maStyleName = rStyleName; }
void SetStyleName( const OUString& rStyleName );
const OUString& GetStyleName() const;
};
#endif // _XMLOFF_XMLEXPPR_HXX
......
......@@ -361,14 +361,14 @@ void XMLChartExportPropertyMapper::handleSpecialItem(
{
sal_Bool bHandled = sal_False;
sal_Int32 nContextId = maPropMapper->GetEntryContextId( rProperty.mnIndex );
sal_Int32 nContextId = getPropertySetMapper()->GetEntryContextId( rProperty.mnIndex );
if( nContextId )
{
bHandled = sal_True;
OUString sAttrName = maPropMapper->GetEntryXMLName( rProperty.mnIndex );
sal_uInt16 nNameSpace = maPropMapper->GetEntryNameSpace( rProperty.mnIndex );
OUString sAttrName = getPropertySetMapper()->GetEntryXMLName( rProperty.mnIndex );
sal_uInt16 nNameSpace = getPropertySetMapper()->GetEntryNameSpace( rProperty.mnIndex );
OUStringBuffer sValueBuffer;
OUString sValue;
......
......@@ -1545,7 +1545,7 @@ void XMLShapeExportPropertyMapper::handleElementItem(
{
uno::Reference< container::XIndexReplace > xNumRule( rProperty.maValue, uno::UNO_QUERY );
if( xNumRule.is() )
const_cast<XMLShapeExportPropertyMapper*>(this)->maNumRuleExp.exportNumberingRule( maStyleName, sal_False, xNumRule );
const_cast<XMLShapeExportPropertyMapper*>(this)->maNumRuleExp.exportNumberingRule(GetStyleName(), false, xNumRule);
}
}
break;
......
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