summaryrefslogtreecommitdiff
path: root/cui/source/dialogs
diff options
context:
space:
mode:
authorMalte Timmermann [mt] <malte.timmermann@oracle.com>2011-01-21 12:23:11 +0100
committerMalte Timmermann [mt] <malte.timmermann@oracle.com>2011-01-21 12:23:11 +0100
commit72134106b433ecc665c726532a318ede38e6fb87 (patch)
tree0eb16cfddcbd0dca496d7f078842892863ceb410 /cui/source/dialogs
parent0c514ad4f653c63702b55a1e3c6f8e725a549079 (diff)
accfixes: moved some shared strings to svx
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r--cui/source/dialogs/cuigaldlg.cxx10
-rw-r--r--cui/source/dialogs/gallery.src17
2 files changed, 7 insertions, 20 deletions
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index fa95cfeaa1d1..c9dd8c10895e 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -54,6 +54,9 @@
#include <sfx2/sfxuno.hxx>
#include "dialmgr.hxx"
#include "gallery.hrc"
+#include <svx/dialogs.hrc>
+#include <svx/dialmgr.hxx>
+
// --------------
// - Namespaces -
@@ -663,8 +666,9 @@ TPGalleryThemeGeneral::TPGalleryThemeGeneral( Window* pParent, const SfxItemSet&
{
FreeResource();
- aEdtMSName.SetAccessibleName(GAL_RESID(RID_SVXSTR_GALLERY_THEMENAME));
- aFiMSImage.SetAccessibleName(GAL_RESID(RID_SVXSTR_GALLERY_THEMENAME));
+ String aAccName(SVX_RES(RID_SVXSTR_GALLERY_THEMENAME));
+ aEdtMSName.SetAccessibleName(aAccName);
+ aFiMSImage.SetAccessibleName(aAccName);
aEdtMSName.SetAccessibleRelationLabeledBy( &aFiMSImage );
}
@@ -770,7 +774,7 @@ TPGalleryThemeProperties::TPGalleryThemeProperties( Window* pWindow, const SfxIt
FreeResource();
xDialogListener->SetDialogClosedLink( LINK( this, TPGalleryThemeProperties, DialogClosedHdl ) );
- aLbxFound.SetAccessibleName(GAL_RESID(RID_SVXSTR_GALLERY_FILESFOUND));
+ aLbxFound.SetAccessibleName(String(SVX_RES(RID_SVXSTR_GALLERY_FILESFOUND)));
aWndPreview.SetAccessibleName(aCbxPreview.GetText());
aLbxFound.SetAccessibleRelationLabeledBy(&aLbxFound);
}
diff --git a/cui/source/dialogs/gallery.src b/cui/source/dialogs/gallery.src
index b40edf359d32..f8d035528c71 100644
--- a/cui/source/dialogs/gallery.src
+++ b/cui/source/dialogs/gallery.src
@@ -464,23 +464,6 @@ String RID_SVXSTR_GALLERY_ID_EXISTS
{
Text [ en-US ] = "This ID already exists..." ;
};
-String RID_SVXSTR_GALLERY_THEMEITEMS
-{
- Text [ en-US ] = "Theme Items";
-};
-String RID_SVXSTR_GALLERY_THEMENAME
-{
- Text [ en-US ] = "Theme Name";
-};
-String RID_SVXSTR_GALLERY_FILESFOUND
-{
- Text [ en-US ] = "Files Found";
-};
-String RID_SVXSTR_GALLERY_PREVIEW
-{
- Text [ en-US ] = "Preview";
-};
-
/******************************************************************************/