summaryrefslogtreecommitdiff
path: root/sc/source/ui/app/transobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/app/transobj.cxx')
-rw-r--r--sc/source/ui/app/transobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx
index 1ccb4f23a2aa..eec781a3ad43 100644
--- a/sc/source/ui/app/transobj.cxx
+++ b/sc/source/ui/app/transobj.cxx
@@ -317,7 +317,7 @@ bool ScTransferObj::GetData( const datatransfer::DataFlavor& rFlavor )
// DataType depends on format type:
- if ( rFlavor.DataType.equals( ::getCppuType( (const OUString*) 0 ) ) )
+ if ( rFlavor.DataType.equals( ::cppu::UnoType<OUString>::get() ) )
{
OUString aString;
if ( aObj.ExportString( aString, nFormat ) )