Commits

Anonymous committed d9b6a9b

cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation

Comments (0)

Files changed (6)

cui/source/tabpages/autocdlg.src

     {
         Text [ en-US ] = "Delete words with two initial capitals" ;
 	};
-	String STR_PB_SGL_STD
-    {
-        Text [ en-US ] = "Single quotes default" ;
-	};
-	String STR_PB_DBL_STD
-    {
-        Text [ en-US ] = "Double quotes default" ;
-	};
-	String STR_PB_SGL_START
-    {
-        Text [ en-US ] = "Start quote of single quotes" ;
-	};
-	String STR_PB_DBL_START
-    {
-        Text [ en-US ] = "Start quote of double quotes" ;
-	};
-	String STR_PB_SGL_END
-    {
-        Text [ en-US ] = "End quote of single quotes" ;
-	};
-	String STR_PB_DBL_END
-    {
-        Text [ en-US ] = "End quote of double quotes" ;
-	};
 };
 /**************************************************************************/
 /*                                                                        */
     {
         Text [ en-US ] = "Default" ;
 	};
+	String STR_PB_SGL_STD
+    {
+        Text [ en-US ] = "Single quotes default" ;
+	};
+	String STR_PB_DBL_STD
+    {
+        Text [ en-US ] = "Double quotes default" ;
+	};
+	String STR_PB_SGL_START
+    {
+        Text [ en-US ] = "Start quote of single quotes" ;
+	};
+	String STR_PB_DBL_START
+    {
+        Text [ en-US ] = "Start quote of double quotes" ;
+	};
+	String STR_PB_SGL_END
+    {
+        Text [ en-US ] = "End quote of single quotes" ;
+	};
+	String STR_PB_DBL_END
+    {
+        Text [ en-US ] = "End quote of double quotes" ;
+	};
 };
 
 /**************************************************************************/

cui/source/tabpages/tpbitmap.cxx

 	aLbBackgroundColor.SetSelectHdl(
 		LINK( this, SvxBitmapTabPage, ChangeBackgrndColorHdl_Impl ) );
 
-	String accName = String(SVX_RES(STR_EXAMPLE)); 
+	String accName = String(CUI_RES(STR_EXAMPLE)); 
 	aCtlPreview.SetAccessibleName(accName); 
 	aCtlPixel.SetAccessibleRelationMemberOf( &aFlProp );
 	aCtlPixel.SetAccessibleRelationLabeledBy( &aFtPixelEdit );

sfx2/source/dialog/dialog.hrc

 #define RID_EDIT_DURATIONS              ( RC_DIALOG_BEGIN + 123 )
 #define SFX_PB_EDIT                     ( RC_DIALOG_BEGIN + 124 )
 
+#define STR_STYLE_ELEMTLIST				( RC_DIALOG_BEGIN + 125 )
+
 #endif // #ifndef _SFX_DIALOG_HRC
 
 // eof ------------------------------------------------------------------------

sfx2/source/dialog/newstyle.cxx

 	aOKBtn.SetClickHdl(LINK(this, SfxNewStyleDlg, OKHdl));
 	aColBox.SetModifyHdl(LINK(this, SfxNewStyleDlg, ModifyHdl));
 	aColBox.SetDoubleClickHdl(LINK(this, SfxNewStyleDlg, OKHdl));
-	aColBox.SetAccessibleName(SfxResId(FL_COL));
+	// aColBox.SetAccessibleName(SfxResId(FL_COL));
 
 	SfxStyleSheetBase *pStyle = rPool.First();
 	while ( pStyle )

sfx2/source/dialog/templdlg.hrc

 #define BT_FLIST 8
 #define BT_VLIST 9
 #define BT_TOOL 10
-
-//IAccessibility2 Implementation 2009-----
-#define STR_STYLE_ELEMTLIST	18
-//-----IAccessibility2 Implementation 2009
-

svx/source/dialog/ctredlin.src

 	{
 		Text [ en-US ] = "End Time" ;
 	};
-	String STR_TREE
-	{
-		Text [ en-US ] = "Changes" ;
-	};
 	/*-----IAccessibility2 Implementation 2009*/
 };
 TabPage SID_REDLIN_VIEW_PAGE
 	{
 		Text [ en-US ] = "Comment" ;
 	};
+	String STR_TREE
+	{
+		Text [ en-US ] = "Changes" ;
+	};
 };