Commits

Anonymous committed 90f9840

vcl122: #i117746# remove unused constants

Comments (0)

Files changed (2)

vcl/inc/vcl/settings.hxx

 // #define SETTINGS_KEYBOARD           ((sal_uLong)0x00000004)
 #define SETTINGS_STYLE              ((sal_uLong)0x00000008)
 #define SETTINGS_MISC               ((sal_uLong)0x00000010)
-#define SETTINGS_SOUND              ((sal_uLong)0x00000020)
+//#define SETTINGS_SOUND              ((sal_uLong)0x00000020)
 //#define SETTINGS_NOTIFICATION       ((sal_uLong)0x00000040)
 #define SETTINGS_HELP               ((sal_uLong)0x00000080)
-#define SETTINGS_INTERNATIONAL      ((sal_uLong)0x00000100) /* was for class International, has no effect anymore */
+//#define SETTINGS_INTERNATIONAL      ((sal_uLong)0x00000100) /* was for class International, has no effect anymore */
 #define SETTINGS_LOCALE             ((sal_uLong)0x00000200)
 #define SETTINGS_UILOCALE           ((sal_uLong)0x00000400)
-#define SETTINGS_ALLSETTINGS        (SETTINGS_MOUSE |\
-                                     SETTINGS_STYLE | SETTINGS_MISC |\
-                                     SETTINGS_SOUND |\
-                                     SETTINGS_HELP |\
-                                     SETTINGS_LOCALE | SETTINGS_UILOCALE )
+#define SETTINGS_ALLSETTINGS        (SETTINGS_MOUSE  |\
+                                     SETTINGS_STYLE  |\
+                                     SETTINGS_MISC   |\
+                                     SETTINGS_HELP   |\
+                                     SETTINGS_LOCALE |\
+                                     SETTINGS_UILOCALE )
 #define SETTINGS_IN_UPDATE_SETTINGS ((sal_uLong)0x00000800)	  // this flag indicates that the data changed event was created
 														  // in Windows::UpdateSettings probably because of a global
 														  // settings changed

vcl/source/app/settings.cxx

         }
     }
 
-    if ( nFlags & SETTINGS_INTERNATIONAL )
-    {
-        // Nothing, class International is gone.
-        DBG_ERRORFILE("AllSettings::Update: who calls with SETTINGS_INTERNATIONAL and why? You're flogging a dead horse.");
-    }
-
     if ( nFlags & SETTINGS_LOCALE )
     {
         if ( mpData->meLanguage || rSet.mpData->meLanguage )
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.