diff options
author | Andras Timar <andras.timar@collabora.com> | 2013-10-17 21:14:01 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-10-17 21:14:47 +0200 |
commit | 7527e8f71bbdb87f283a6c19e4dbdfa0faf0622a (patch) | |
tree | 704a7229ab44c3199eddf62cd23264e7c7f46bf8 /sw/source | |
parent | 828bc9d9376d296db47fbee699ae08e546b50a8d (diff) |
fix thinko
Change-Id: I766665e9b4cc83a78d718b194eb8dbb3fd5113aa
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/dbui/mmaddressblockpage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx index e9ead95be476..aef961ea9e87 100644 --- a/sw/source/ui/dbui/mmaddressblockpage.cxx +++ b/sw/source/ui/dbui/mmaddressblockpage.cxx @@ -684,7 +684,7 @@ sal_Int32 SwCustomizeAddressBlockDialog::GetSelectedItem_Impl() { SvTreeListEntry* pEntry = m_pAddressElementsLB->GetEntry(i); OUString sEntry = m_pAddressElementsLB->GetEntryText(pEntry); - if( sSelected == sEntry.copy( 1, sSelected.getLength() - 2 ) ) + if( sEntry == sSelected.copy( 1, sSelected.getLength() - 2 ) ) { nRet = (sal_Int32)(sal_IntPtr)pEntry->GetUserData(); break; |