summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-08-17 22:43:43 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-08-17 23:10:58 -0400
commit82e3de57471c30e0047fcfc714d1219fd15067e4 (patch)
treeee4642f2cfe7b75328cedac9a7e2a5fcb6743bc7 /xmloff
parent30dab43c058c27ca603b5ac318a0283883475fc9 (diff)
Rename SvXMLAutoStylePoolPropertiesP_Impl to XMLAutoStylePoolProperties.
Change-Id: Ib2bd2da3852fdd8110d6d799b5a4091f2a89f0a8
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/impastp2.cxx2
-rw-r--r--xmloff/source/style/impastp3.cxx14
-rw-r--r--xmloff/source/style/impastp4.cxx2
-rw-r--r--xmloff/source/style/impastpl.hxx10
4 files changed, 14 insertions, 14 deletions
diff --git a/xmloff/source/style/impastp2.cxx b/xmloff/source/style/impastp2.cxx
index bcdaf3ba6747..e6caba18fa9b 100644
--- a/xmloff/source/style/impastp2.cxx
+++ b/xmloff/source/style/impastp2.cxx
@@ -25,7 +25,7 @@ using namespace std;
// Class SvXMLAutoStylePoolProperties_Impl
// ctor class SvXMLAutoStylePoolProperties_Impl
-SvXMLAutoStylePoolPropertiesP_Impl::SvXMLAutoStylePoolPropertiesP_Impl( XMLAutoStyleFamily& rFamilyData, const vector< XMLPropertyState >& rProperties )
+XMLAutoStylePoolProperties::XMLAutoStylePoolProperties( XMLAutoStyleFamily& rFamilyData, const vector< XMLPropertyState >& rProperties )
: maProperties( rProperties ),
mnPos ( rFamilyData.mnCount )
{
diff --git a/xmloff/source/style/impastp3.cxx b/xmloff/source/style/impastp3.cxx
index 6ab2016541a4..8dde3f76b71c 100644
--- a/xmloff/source/style/impastp3.cxx
+++ b/xmloff/source/style/impastp3.cxx
@@ -32,12 +32,12 @@ XMLAutoStylePoolParent::~XMLAutoStylePoolParent()
sal_Bool XMLAutoStylePoolParent::Add( XMLAutoStyleFamily& rFamilyData, const vector< XMLPropertyState >& rProperties, OUString& rName, bool bDontSeek )
{
sal_Bool bAdded = sal_False;
- SvXMLAutoStylePoolPropertiesP_Impl *pProperties = 0;
+ XMLAutoStylePoolProperties *pProperties = 0;
sal_Int32 nProperties = rProperties.size();
size_t i = 0;
for (size_t n = maPropertiesList.size(); i < n; ++i)
{
- SvXMLAutoStylePoolPropertiesP_Impl* pIS = &maPropertiesList[i];
+ XMLAutoStylePoolProperties* pIS = &maPropertiesList[i];
if( nProperties > (sal_Int32)pIS->GetProperties().size() )
{
continue;
@@ -55,7 +55,7 @@ sal_Bool XMLAutoStylePoolParent::Add( XMLAutoStyleFamily& rFamilyData, const vec
if( !pProperties )
{
- pProperties = new SvXMLAutoStylePoolPropertiesP_Impl( rFamilyData, rProperties );
+ pProperties = new XMLAutoStylePoolProperties( rFamilyData, rProperties );
PropertiesListType::iterator it = maPropertiesList.begin();
::std::advance( it, i );
maPropertiesList.insert( it, pProperties );
@@ -80,7 +80,7 @@ sal_Bool XMLAutoStylePoolParent::AddNamed( XMLAutoStyleFamily& rFamilyData, cons
size_t i = 0;
for (size_t n = maPropertiesList.size(); i < n; ++i)
{
- SvXMLAutoStylePoolPropertiesP_Impl* pIS = &maPropertiesList[i];
+ XMLAutoStylePoolProperties* pIS = &maPropertiesList[i];
if( nProperties > (sal_Int32)pIS->GetProperties().size() )
{
continue;
@@ -93,8 +93,8 @@ sal_Bool XMLAutoStylePoolParent::AddNamed( XMLAutoStyleFamily& rFamilyData, cons
if(rFamilyData.mpNameList->find(rName) == rFamilyData.mpNameList->end())
{
- SvXMLAutoStylePoolPropertiesP_Impl* pProperties =
- new SvXMLAutoStylePoolPropertiesP_Impl( rFamilyData, rProperties );
+ XMLAutoStylePoolProperties* pProperties =
+ new XMLAutoStylePoolProperties( rFamilyData, rProperties );
// ignore the generated name
pProperties->SetName( rName );
PropertiesListType::iterator it = maPropertiesList.begin();
@@ -116,7 +116,7 @@ OUString XMLAutoStylePoolParent::Find( const XMLAutoStyleFamily& rFamilyData, co
vector< XMLPropertyState>::size_type nItems = rProperties.size();
for (size_t i = 0, n = maPropertiesList.size(); i < n; ++i)
{
- const SvXMLAutoStylePoolPropertiesP_Impl* pIS = &maPropertiesList[i];
+ const XMLAutoStylePoolProperties* pIS = &maPropertiesList[i];
if( nItems > pIS->GetProperties().size() )
{
continue;
diff --git a/xmloff/source/style/impastp4.cxx b/xmloff/source/style/impastp4.cxx
index 1a7235e0e7e4..bd90fdf7ee93 100644
--- a/xmloff/source/style/impastp4.cxx
+++ b/xmloff/source/style/impastp4.cxx
@@ -291,7 +291,7 @@ void SvXMLAutoStylePoolP_Impl::exportXML(
size_t nProperties = rParent.GetPropertiesList().size();
for( size_t j = 0; j < nProperties; j++ )
{
- const SvXMLAutoStylePoolPropertiesP_Impl* pProperties =
+ const XMLAutoStylePoolProperties* pProperties =
&rParent.GetPropertiesList()[j];
sal_uLong nPos = pProperties->GetPos();
DBG_ASSERT( nPos < nCount,
diff --git a/xmloff/source/style/impastpl.hxx b/xmloff/source/style/impastpl.hxx
index 077456e600ad..c45f87ee9874 100644
--- a/xmloff/source/style/impastpl.hxx
+++ b/xmloff/source/style/impastpl.hxx
@@ -74,7 +74,7 @@ struct XMLAutoStyleFamily : boost::noncopyable
// Properties of a pool
-class SvXMLAutoStylePoolPropertiesP_Impl
+class XMLAutoStylePoolProperties
{
OUString msName;
::std::vector< XMLPropertyState > maProperties;
@@ -82,9 +82,9 @@ class SvXMLAutoStylePoolPropertiesP_Impl
public:
- SvXMLAutoStylePoolPropertiesP_Impl( XMLAutoStyleFamily& rFamilyData, const ::std::vector< XMLPropertyState >& rProperties );
+ XMLAutoStylePoolProperties( XMLAutoStyleFamily& rFamilyData, const ::std::vector< XMLPropertyState >& rProperties );
- ~SvXMLAutoStylePoolPropertiesP_Impl()
+ ~XMLAutoStylePoolProperties()
{
}
@@ -99,7 +99,7 @@ public:
class XMLAutoStylePoolParent
{
public:
- typedef boost::ptr_vector<SvXMLAutoStylePoolPropertiesP_Impl> PropertiesListType;
+ typedef boost::ptr_vector<XMLAutoStylePoolProperties> PropertiesListType;
private:
OUString msParent;
@@ -191,7 +191,7 @@ public:
struct SvXMLAutoStylePoolPExport_Impl
{
const OUString *mpParent;
- const SvXMLAutoStylePoolPropertiesP_Impl *mpProperties;
+ const XMLAutoStylePoolProperties *mpProperties;
};
#endif