[Libreoffice-commits] .: connectivity/source

David Tardon dtardon at kemper.freedesktop.org
Wed Feb 16 22:30:07 PST 2011


 connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9556f01711911f61dca189419a87089a149af27e
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Feb 17 07:29:51 2011 +0100

    WaE: unused variable

diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx
index 42d6a9c..f689c28 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx
@@ -204,13 +204,13 @@ namespace connectivity
                 }
                 if (profileName.getLength() != 0 || profilePath.getLength() != 0)
                 {
+#ifndef MINIMAL_PROFILEDISCOVER
                     sal_Int32 isRelative = 0;
                     if (sIsRelative.getLength() != 0)
                     {
                         isRelative = sIsRelative.toInt32();
                     }
                     
-#ifndef MINIMAL_PROFILEDISCOVER
                     nsCOMPtr<nsILocalFile> rootDir;
                     rv = NS_NewLocalFile(EmptyString(), PR_TRUE,
                                             getter_AddRefs(rootDir));


More information about the Libreoffice-commits mailing list