summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-07-27 01:02:03 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-07-27 01:02:03 -0400
commit594648be754b8b5afeebc87320bab945d8edb98c (patch)
tree07df2ba8b15eb547e38489526e91e8dccce3b468 /sw
parent0879332ff718822e5a49ce38e059790753047988 (diff)
Let's not make these methods inline....
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/html/svxcss1.cxx59
-rw-r--r--sw/source/filter/html/svxcss1.hxx71
2 files changed, 63 insertions, 67 deletions
diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index 8a1c828492..a80243b70d 100644
--- a/sw/source/filter/html/svxcss1.cxx
+++ b/sw/source/filter/html/svxcss1.cxx
@@ -802,8 +802,65 @@ SvxCSS1Parser::~SvxCSS1Parser()
delete pSearchEntry;
}
+void SvxCSS1Parser::InsertId( const String& rId,
+ const SfxItemSet& rItemSet,
+ const SvxCSS1PropertyInfo& rProp )
+{
+ InsertMapEntry( rId, rItemSet, rProp, aIds );
+}
-/* */
+const SvxCSS1MapEntry* SvxCSS1Parser::GetId( const String& rId ) const
+{
+ CSS1Map::const_iterator itr = aIds.find(rId);
+ return itr == aIds.end() ? NULL : itr->second;
+}
+
+void SvxCSS1Parser::InsertClass( const String& rClass,
+ const SfxItemSet& rItemSet,
+ const SvxCSS1PropertyInfo& rProp )
+{
+ InsertMapEntry( rClass, rItemSet, rProp, aClasses );
+}
+
+const SvxCSS1MapEntry* SvxCSS1Parser::GetClass( const String& rClass ) const
+{
+ CSS1Map::const_iterator itr = aClasses.find(rClass);
+ return itr == aClasses.end() ? NULL : itr->second;
+}
+
+void SvxCSS1Parser::InsertPage( const String& rPage,
+ sal_Bool bPseudo,
+ const SfxItemSet& rItemSet,
+ const SvxCSS1PropertyInfo& rProp )
+{
+ String aKey( rPage );
+ if( bPseudo )
+ aKey.Insert( ':', 0 );
+ InsertMapEntry( aKey, rItemSet, rProp, aPages );
+}
+
+SvxCSS1MapEntry* SvxCSS1Parser::GetPage( const String& rPage, bool bPseudo )
+{
+ String aKey( rPage );
+ if( bPseudo )
+ aKey.Insert( ':', 0 );
+
+ CSS1Map::iterator itr = aPages.find(aKey);
+ return itr == aPages.end() ? NULL : itr->second;
+}
+
+void SvxCSS1Parser::InsertTag( const String& rTag,
+ const SfxItemSet& rItemSet,
+ const SvxCSS1PropertyInfo& rProp )
+{
+ InsertMapEntry( rTag, rItemSet, rProp, aTags );
+}
+
+SvxCSS1MapEntry* SvxCSS1Parser::GetTag( const String& rTag )
+{
+ CSS1Map::iterator itr = aTags.find(rTag);
+ return itr == aTags.end() ? NULL : itr->second;
+}
sal_Bool SvxCSS1Parser::ParseStyleSheet( const String& rIn )
{
diff --git a/sw/source/filter/html/svxcss1.hxx b/sw/source/filter/html/svxcss1.hxx
index 49e4ae90f5..cbe6383745 100644
--- a/sw/source/filter/html/svxcss1.hxx
+++ b/sw/source/filter/html/svxcss1.hxx
@@ -318,23 +318,23 @@ public:
void InsertId( const String& rId, const SfxItemSet& rItemSet,
const SvxCSS1PropertyInfo& rProp );
- inline const SvxCSS1MapEntry* GetId( const String& rId ) const;
+ const SvxCSS1MapEntry* GetId( const String& rId ) const;
void InsertClass( const String& rClass, const SfxItemSet& rItemSet,
const SvxCSS1PropertyInfo& rProp );
- inline const SvxCSS1MapEntry* GetClass( const String& rClass ) const;
+ const SvxCSS1MapEntry* GetClass( const String& rClass ) const;
- inline void InsertPage( const String& rPage, sal_Bool bPseudo,
+ void InsertPage( const String& rPage, sal_Bool bPseudo,
const SfxItemSet& rItemSet,
const SvxCSS1PropertyInfo& rProp );
- inline SvxCSS1MapEntry* GetPage( const String& rPage, bool bPseudo );
+ SvxCSS1MapEntry* GetPage( const String& rPage, bool bPseudo );
void InsertTag( const String& rTag, const SfxItemSet& rItemSet,
const SvxCSS1PropertyInfo& rProp );
- inline SvxCSS1MapEntry* GetTag( const String& rTag );
+ SvxCSS1MapEntry* GetTag( const String& rTag );
void MergeStyles( const SfxItemSet& rSrcSet,
const SvxCSS1PropertyInfo& rSrcInfo,
@@ -355,67 +355,6 @@ public:
};
-inline void SvxCSS1Parser::InsertId( const String& rId,
- const SfxItemSet& rItemSet,
- const SvxCSS1PropertyInfo& rProp )
-{
- InsertMapEntry( rId, rItemSet, rProp, aIds );
-}
-
-inline const SvxCSS1MapEntry* SvxCSS1Parser::GetId( const String& rId ) const
-{
- CSS1Map::const_iterator itr = aIds.find(rId);
- return itr == aIds.end() ? NULL : itr->second;
-}
-
-inline void SvxCSS1Parser::InsertClass( const String& rClass,
- const SfxItemSet& rItemSet,
- const SvxCSS1PropertyInfo& rProp )
-{
- InsertMapEntry( rClass, rItemSet, rProp, aClasses );
-}
-
-inline const SvxCSS1MapEntry* SvxCSS1Parser::GetClass( const String& rClass ) const
-{
- CSS1Map::const_iterator itr = aClasses.find(rClass);
- return itr == aClasses.end() ? NULL : itr->second;
-}
-
-inline void SvxCSS1Parser::InsertPage( const String& rPage,
- sal_Bool bPseudo,
- const SfxItemSet& rItemSet,
- const SvxCSS1PropertyInfo& rProp )
-{
- String aKey( rPage );
- if( bPseudo )
- aKey.Insert( ':', 0 );
- InsertMapEntry( aKey, rItemSet, rProp, aPages );
-}
-
-inline SvxCSS1MapEntry* SvxCSS1Parser::GetPage( const String& rPage, bool bPseudo )
-{
- String aKey( rPage );
- if( bPseudo )
- aKey.Insert( ':', 0 );
-
- CSS1Map::iterator itr = aPages.find(aKey);
- return itr == aPages.end() ? NULL : itr->second;
-}
-
-inline void SvxCSS1Parser::InsertTag( const String& rTag,
- const SfxItemSet& rItemSet,
- const SvxCSS1PropertyInfo& rProp )
-{
- InsertMapEntry( rTag, rItemSet, rProp, aTags );
-}
-
-inline SvxCSS1MapEntry* SvxCSS1Parser::GetTag( const String& rTag )
-{
- CSS1Map::iterator itr = aTags.find(rTag);
- return itr == aTags.end() ? NULL : itr->second;
-}
-
-
#endif