summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-11 00:28:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-11 12:06:24 +0100
commit1ed856c2653a029846f31f190ca837824c704cac (patch)
tree9f16849150e050e3fcb29c843fe9c6d0bf654563 /sw
parent41e055112ea778c7a45d6cc5f0ce32e44bdb031c (diff)
UniString->rtl::OUString
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 )