Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hello,

This verry small patch replace BOOL by bool for bRetValue.

Can I replace all BOOL from msfilter to bool?

Patch underLGPLv3+/MPL.

Thanks
From 14f0fda323be0bceabf0443240d7ec2f89942ad1 Mon Sep 17 00:00:00 2001
From: Arnaud Versini <arnaud.versini@gmail.com>
Date: Fri, 4 Mar 2011 13:06:07 +0100
Subject: [PATCH] bool functions should use bool instead of BOOL for bRetValue.

---
 filter/source/msfilter/svxmsbas.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/filter/source/msfilter/svxmsbas.cxx b/filter/source/msfilter/svxmsbas.cxx
index 906a1c7..81719f4 100644
--- a/filter/source/msfilter/svxmsbas.cxx
+++ b/filter/source/msfilter/svxmsbas.cxx
@@ -116,7 +116,7 @@ int SvxImportMSVBasic::Import( const String& rStorageName,
 bool SvxImportMSVBasic::ImportForms_Impl(const String& rStorageName,
     const String& rSubStorageName, BOOL bVBAMode )
 {
-    BOOL bRet = FALSE;
+    bool bRet = false;
     // #FIXME VBA_Impl ( or some other new class ) should handle both userforms
     // and code 
        VBA_Impl aVBA( *xRoot, TRUE );
-- 
1.7.4.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.