diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-11 00:28:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-11 12:06:24 +0100 |
commit | 1ed856c2653a029846f31f190ca837824c704cac (patch) | |
tree | 9f16849150e050e3fcb29c843fe9c6d0bf654563 /svl | |
parent | 41e055112ea778c7a45d6cc5f0ce32e44bdb031c (diff) |
UniString->rtl::OUString
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/style.hxx | 2 | ||||
-rw-r--r-- | svl/source/items/style.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svl/inc/svl/style.hxx b/svl/inc/svl/style.hxx index 64f28a5db09e..f44b7d144189 100644 --- a/svl/inc/svl/style.hxx +++ b/svl/inc/svl/style.hxx @@ -173,7 +173,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 ~SfxStyleSheetIterator(); protected: diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 120a09ae79df..68c3d81649a4 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -497,9 +497,9 @@ SfxStyleSheetBase* SfxStyleSheetIterator::Next() } -SfxStyleSheetBase* SfxStyleSheetIterator::Find(const XubString& rStr) +SfxStyleSheetBase* SfxStyleSheetIterator::Find(const rtl::OUString& rStr) { - for ( sal_uInt16 n = 0; n < pBasePool->aStyles.size(); n++ ) + for ( sal_uInt16 n = 0; n < pBasePool->aStyles.size(); ++n ) { SfxStyleSheetBase* pStyle = pBasePool->aStyles[n].get(); |