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


Files source/uno/namecont.cxx source/inc/namecont.hxx
class SfxLibrary
has a private member named maOrig*ni*alStorageURL (without the
asterisks). To should "obviously" be maOrig*in*alStorageURL (without
the asterisks). As this is a private member, no API problem in
changing it.

Patch attached.

-- 
Lionel
From 8c89c46e9190a582c220a26369ee14869cc6b917 Mon Sep 17 00:00:00 2001
From: Lionel Elie Mamane <lionel.mamane@gestman.lu>
Date: Sun, 14 Aug 2011 17:07:10 +0200
Subject: [PATCH] class SfxLibrary: Typo in private member name: maOrig*ni*alStorageURL

---
 basic/source/inc/namecont.hxx |    2 +-
 basic/source/uno/namecont.cxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx
index 3d4a1ff..0467c56 100644
--- a/basic/source/inc/namecont.hxx
+++ b/basic/source/inc/namecont.hxx
@@ -565,7 +565,7 @@ private:
     ::rtl::OUString maLibInfoFileURL;
     ::rtl::OUString maStorageURL;
     ::rtl::OUString maUnexpandedStorageURL;
-    ::rtl::OUString maOrignialStorageURL;
+    ::rtl::OUString maOriginalStorageURL;
 
     sal_Bool mbLink;
     sal_Bool mbReadOnly;
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 444a4ed..4882c6f 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -2150,7 +2150,7 @@ Reference< XNameAccess > SAL_CALL SfxLibraryContainer::createLibraryLink
     SfxLibrary* pNewLib = implCreateLibraryLink( Name, aLibInfoFileURL, aLibDirURL, ReadOnly );
     pNewLib->maLibElementFileExtension = maLibElementFileExtension;
     pNewLib->maUnexpandedStorageURL = aUnexpandedStorageURL;
-    pNewLib->maOrignialStorageURL = StorageURL;
+    pNewLib->maOriginalStorageURL = StorageURL;
 
     OUString aInitFileName;
     uno::Reference< embed::XStorage > xDummyStor;
@@ -2781,7 +2781,7 @@ OUString SAL_CALL SfxLibraryContainer::getOriginalLibraryLinkURL( const 
OUString
     sal_Bool bLink = pImplLib->mbLink;
     if( !bLink )
         throw IllegalArgumentException();
-    OUString aRetStr = pImplLib->maOrignialStorageURL;
+    OUString aRetStr = pImplLib->maOriginalStorageURL;
     return aRetStr;
 }
     
-- 
1.7.2.5


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.