diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-01 20:12:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-02 11:43:04 +0100 |
commit | f7f421670206d265024a99da6bc1ad8781c30c99 (patch) | |
tree | 24e990a0d03a5cde3febad7fc10292a0236acc36 /sc/source/ui/view/viewfun2.cxx | |
parent | b95a901089ac096131bb6a4fe9c1f1346ffdde6f (diff) |
remove some UniString::GetBuffer
Change-Id: I808026a6f593b0251ee107d27e7ca12d55b2d0a0
Diffstat (limited to 'sc/source/ui/view/viewfun2.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index 267969276b9d..6cb7c8164220 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -2915,7 +2915,7 @@ void ScViewFunc::HideTable( const ScMarkData& rMark ) //---------------------------------------------------------------------------- -void ScViewFunc::InsertSpecialChar( const String& rStr, const Font& rFont ) +void ScViewFunc::InsertSpecialChar( const OUString& rStr, const Font& rFont ) { ScEditableTester aTester( this ); if (!aTester.IsEditable()) @@ -2924,7 +2924,7 @@ void ScViewFunc::InsertSpecialChar( const String& rStr, const Font& rFont ) return; } - const sal_Unicode* pChar = rStr.GetBuffer(); + const sal_Unicode* pChar = rStr.getStr(); ScTabViewShell* pViewShell = GetViewData()->GetViewShell(); SvxFontItem aFontItem( rFont.GetFamily(), rFont.GetName(), |