summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dochdl/gloshdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/dochdl/gloshdl.cxx')
-rw-r--r--sw/source/uibase/dochdl/gloshdl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/dochdl/gloshdl.cxx b/sw/source/uibase/dochdl/gloshdl.cxx
index 8b93fb6545be..12720302f0e5 100644
--- a/sw/source/uibase/dochdl/gloshdl.cxx
+++ b/sw/source/uibase/dochdl/gloshdl.cxx
@@ -691,10 +691,10 @@ bool SwGlossaryHdl::CopyToClipboard(SwWrtShell& rSh, const OUString& rShortName)
rtl::Reference<SwTransferable> pTransfer = new SwTransferable( rSh );
- int nRet = pTransfer->CopyGlossary( *pGlossary, rShortName );
+ bool bRet = pTransfer->CopyGlossary( *pGlossary, rShortName );
if( !pCurGrp )
delete pGlossary;
- return 0 != nRet;
+ return bRet;
}
bool SwGlossaryHdl::ImportGlossaries( const OUString& rName )