[PATCH] class SfxLibrary: Typo in private member name: maOrig*ni*alStorageURL

Lionel Elie Mamane lionel.mamane at gestman.lu
Sun Aug 14 08:07:10 PDT 2011


---
 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


--EeQfGwPcQSOJBaQU--


More information about the LibreOffice mailing list