diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-15 15:11:53 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-15 15:17:15 +0100 |
commit | bf535c47728aa874dd9f0d7fba6ba478adb26073 (patch) | |
tree | 3d57d28ba39cfddd3356802cab8e0efe35743ef5 /sfx2 | |
parent | 921e2dc0393873ad0a972252000803ceadc290cb (diff) |
DdeSetData should apparently return bool
Change-Id: Ie0e66ac6c76eabb80340d4c11b60dd7890c6a378
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appdde.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx index 9785e369b253..e82cb17a87e0 100644 --- a/sfx2/source/appl/appdde.cxx +++ b/sfx2/source/appl/appdde.cxx @@ -386,13 +386,13 @@ bool SfxObjectShell::DdeGetData( const OUString&, // the Item to be This method can be overloaded by application developers, to receive DDE-data directed to their SfxApplication subclass. - The base implementation is not receiving any data and returns 0. + The base implementation is not receiving any data and returns false. */ -long SfxObjectShell::DdeSetData( const OUString&, // the Item to be addressed +bool SfxObjectShell::DdeSetData( const OUString&, // the Item to be addressed const OUString&, // in: Format const ::com::sun::star::uno::Any& )// out: requested data { - return 0; + return false; } /* [Description] @@ -461,13 +461,13 @@ bool SfxViewFrame::DdeGetData( const OUString&, // the Item to be add This method can be overloaded by application developers, to receive DDE-data directed to their SfxApplication subclass. - The base implementation is not receiving any data and returns 0. + The base implementation is not receiving any data and returns false. */ -long SfxViewFrame::DdeSetData( const OUString&, // the Item to be addressed +bool SfxViewFrame::DdeSetData( const OUString&, // the Item to be addressed const OUString&, // in: Format const ::com::sun::star::uno::Any& )// out: requested data { - return 0; + return false; } /* [Description] @@ -614,7 +614,7 @@ bool SfxDdeDocTopic_Impl::Put( const DdeData* pData ) ::com::sun::star::uno::Any aValue; aValue <<= aSeq; OUString sMimeType( SotExchange::GetFormatMimeType( pData->GetFormat() )); - bRet = 0 != pSh->DdeSetData( GetCurItem(), sMimeType, aValue ); + bRet = pSh->DdeSetData( GetCurItem(), sMimeType, aValue ); } else bRet = false; |