summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svx/dialogs.hrc2
-rw-r--r--svx/source/core/graphichelper.cxx2
-rw-r--r--svx/source/core/graphichelper.src4
3 files changed, 6 insertions, 2 deletions
diff --git a/include/svx/dialogs.hrc b/include/svx/dialogs.hrc
index 349a2145e0c4..ff37b0949bcc 100644
--- a/include/svx/dialogs.hrc
+++ b/include/svx/dialogs.hrc
@@ -833,7 +833,7 @@
// RID_SVXSTR_ACCESSIBILITY_END (RID_SVX_START + 950)
#define RID_SVXSTR_EXPORT_GRAPHIC_TITLE (RID_SVX_START + 984)
-
+#define RID_SVXSTR_SAVEAS_IMAGE (RID_SVX_START + 985)
#define RID_SVX_EXTRUSION_BAR (RID_SVX_START + 986)
#define RID_SVX_FONTWORK_BAR (RID_SVX_START + 987)
diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx
index 742e8cd0be7d..33f2dc508530 100644
--- a/svx/source/core/graphichelper.cxx
+++ b/svx/source/core/graphichelper.cxx
@@ -217,7 +217,7 @@ void GraphicHelper::SaveShapeAsGraphic( const Reference< drawing::XShape >& xSha
FileDialogHelper aDialogHelper( TemplateDescription::FILESAVE_AUTOEXTENSION );
Reference < XFilePicker2 > xFilePicker = aDialogHelper.GetFilePicker();
- aDialogHelper.SetTitle( "Save as Image" );
+ aDialogHelper.SetTitle( SVX_RESSTR(RID_SVXSTR_SAVEAS_IMAGE) );
INetURLObject aPath;
aPath.SetSmartURL( sGraphicPath );
diff --git a/svx/source/core/graphichelper.src b/svx/source/core/graphichelper.src
index 7234d08e8f8d..3432778c9cd9 100644
--- a/svx/source/core/graphichelper.src
+++ b/svx/source/core/graphichelper.src
@@ -24,4 +24,8 @@ String RID_SVXSTR_EXPORT_GRAPHIC_TITLE
Text [ en-US ] = "Image Export" ;
};
+String RID_SVXSTR_SAVEAS_IMAGE
+{
+ Text [ en-US ] = "Save as Image" ;
+};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */