summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/docstyle.hxx2
-rw-r--r--sw/source/ui/app/docstyle.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/docstyle.hxx b/sw/inc/docstyle.hxx
index 7a32215ee217..192098535506 100644
--- a/sw/inc/docstyle.hxx
+++ b/sw/inc/docstyle.hxx
@@ -177,7 +177,7 @@ public:
virtual SfxStyleSheetBase *operator[](sal_uInt16 nIdx);
virtual SfxStyleSheetBase* First();
virtual SfxStyleSheetBase* Next();
- virtual SfxStyleSheetBase* Find(const UniString& rStr);
+ virtual SfxStyleSheetBase* Find(const rtl::OUString& rStr);
virtual void Notify( SfxBroadcaster&, const SfxHint& );
};
diff --git a/sw/source/ui/app/docstyle.cxx b/sw/source/ui/app/docstyle.cxx
index 3937a43a672a..e7aea6ce0023 100644
--- a/sw/source/ui/app/docstyle.cxx
+++ b/sw/source/ui/app/docstyle.cxx
@@ -311,8 +311,8 @@ const SwNumRule* lcl_FindNumRule( SwDoc& rDoc,
}
-sal_uInt16 lcl_FindName( const SwPoolFmtList& rLst, SfxStyleFamily eFam,
- const String& rName )
+sal_uInt16 lcl_FindName(const SwPoolFmtList& rLst, SfxStyleFamily eFam,
+ const rtl::OUString& rName)
{
if(!rLst.empty())
{
@@ -2762,7 +2762,7 @@ SfxStyleSheetBase* SwStyleSheetIterator::Next()
return 0;
}
-SfxStyleSheetBase* SwStyleSheetIterator::Find( const UniString& rName )
+SfxStyleSheetBase* SwStyleSheetIterator::Find(const rtl::OUString& rName)
{
// searching
if( !bFirstCalled )