summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-02 10:19:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-02 12:45:13 +0100
commit857a26eb173f9e0a2ac550da14812ba80500f114 (patch)
treea67413a880275a360a9d1ac693465c1d0e4163dd /sfx2
parent741dd512af5bd448c231cbd945e545cd79377858 (diff)
XubString->OUString
Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 2b1c8faf07e3..c61e3005f8c5 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -499,8 +499,8 @@ void SfxViewShell::ExecMisc_Impl( SfxRequest &rReq )
for( sal_uInt16 nItem = 0; nItem < nItemCount; ++nItem )
{
sal_uInt16 nItemId = pTextToolbox->GetItemId( nItem );
- const XubString& rCommand = pTextToolbox->GetItemCommand( nItemId );
- if( rCommand.EqualsAscii( ".uno:StyleApply" ) )
+ const OUString& rCommand = pTextToolbox->GetItemCommand( nItemId );
+ if (rCommand == ".uno:StyleApply")
{
Window* pItemWin = pTextToolbox->GetItemWindow( nItemId );
if( pItemWin )