summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-01 22:45:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-02 14:53:49 +0100
commit39ff18d07bea2363cd6cbf1c960be103ec1376c1 (patch)
treedfb0e539cafdda3ac43c2307ec1f42292613a867 /sw
parentb6ceb0a8ee690d95ca54490b98fdd3f30eba1309 (diff)
UniString->rtl::OUString and drop globals
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dochdl/swdtflvr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx
index 2760a7d08bfe..15c5d33ed7dc 100644
--- a/sw/source/ui/dochdl/swdtflvr.cxx
+++ b/sw/source/ui/dochdl/swdtflvr.cxx
@@ -2831,7 +2831,7 @@ void SwTransferable::FillClipFmtItem( const SwWrtShell& rSh,
if( nResId )
rToFill.AddClipbrdFormat( SOT_FORMATSTR_ID_EMBED_SOURCE,
- SW_RES( nResId ) );
+ SW_RESSTR( nResId ) );
}
else
{
@@ -2856,7 +2856,7 @@ void SwTransferable::FillClipFmtItem( const SwWrtShell& rSh,
}
if( SwTransferable::_TestAllowedFormat( rData, SOT_FORMATSTR_ID_LINK, nDest ))
- rToFill.AddClipbrdFormat( SOT_FORMATSTR_ID_LINK, SW_RES(STR_DDEFORMAT) );
+ rToFill.AddClipbrdFormat( SOT_FORMATSTR_ID_LINK, SW_RESSTR(STR_DDEFORMAT) );
for( sal_uInt16* pIds = aPasteSpecialIds; *pIds; ++pIds )
if( SwTransferable::_TestAllowedFormat( rData, *pIds, nDest ))