[Libreoffice-commits] .: desktop/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jan 25 09:34:27 PST 2013


 desktop/source/migration/migration.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 67d23e3a99bbaaa5a4dff1f8f3a10bd8abd198fb
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jan 25 18:30:23 2013 +0100

    fdo#57061: Use a new MIGRATION4 flag file for profile migration LO 3 -> 4
    
    ...to avoid missing migrations on Windows and Mac OS X, where existing "3" user
    profiles got the "MIGRATED" flag file erroneously added when running LO 3
    already, presumably due to 6b522673373797bbf53d795d53e0ec45175a5d67 "default
    config location has changed, look in old config dir when migrating."
    
    Change-Id: I8dd50a36450c167d47411834cc06a754affadf6d

diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx
index 9005d20..62aba3d 100644
--- a/desktop/source/migration/migration.cxx
+++ b/desktop/source/migration/migration.cxx
@@ -172,7 +172,7 @@ static const char ITEM_DESCRIPTOR_LABEL[] = "Label";
 
 bool MigrationImpl::alreadyMigrated()
 {
-    rtl::OUString MIGRATION_STAMP_NAME("/MIGRATED");
+    rtl::OUString MIGRATION_STAMP_NAME("/MIGRATED4");
     rtl::OUString aStr = m_aInfo.userdata + MIGRATION_STAMP_NAME;
     File aFile(aStr);
     // create migration stamp, and/or check its existence


More information about the Libreoffice-commits mailing list