summaryrefslogtreecommitdiff
path: root/svtools/source/misc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-10 16:14:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-20 15:23:38 +0100
commit93a28b0aced7f552f0f072c795f4301a2bad0d0e (patch)
tree69dface901e47de13ccad65a6769e3a1333a8c4d /svtools/source/misc
parent071d42a6434027c783cd6d1cc947e6406a91964d (diff)
fix up mangled indent
Diffstat (limited to 'svtools/source/misc')
-rw-r--r--svtools/source/misc/transfer.cxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx
index 5bdbf11720bc..215414a2d968 100644
--- a/svtools/source/misc/transfer.cxx
+++ b/svtools/source/misc/transfer.cxx
@@ -2278,28 +2278,27 @@ TransferableDataHelper TransferableDataHelper::CreateFromSystemClipboard( Window
DBG_ASSERT( pWindow, "Window pointer is NULL" );
Reference< XClipboard > xClipboard;
- TransferableDataHelper aRet;
+ TransferableDataHelper aRet;
if( pWindow )
xClipboard = pWindow->GetClipboard();
if( xClipboard.is() )
- {
- try
-
+ {
+ try
{
Reference< XTransferable > xTransferable( xClipboard->getContents() );
if( xTransferable.is() )
{
aRet = TransferableDataHelper( xTransferable );
- aRet.mxClipboard = xClipboard;
- // also copy the clipboard
+ // also copy the clipboard
+ aRet.mxClipboard = xClipboard;
}
- }
+ }
catch( const ::com::sun::star::uno::Exception& )
{
- }
+ }
}
return aRet;