summaryrefslogtreecommitdiff
path: root/svx/source/core/graphichelper.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2012-07-01 16:46:25 +0200
committerTomaž Vajngerl <quikee@gmail.com>2012-07-01 17:47:50 +0200
commit982db7bc6b82185202fb1a31ab29398b68c75073 (patch)
tree313b92b7ef7e8a7b8114e08e98bd5cb322729950 /svx/source/core/graphichelper.cxx
parent8c1aafe8c20b6de8e13b4ce0eb34bb1b1f04fc0f (diff)
Move "save graphic" dialog title to svx.
Change-Id: I1200e66f010525d989bed801240de6813ddf751c
Diffstat (limited to 'svx/source/core/graphichelper.cxx')
-rw-r--r--svx/source/core/graphichelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx
index faec3b27970d..3e73c99a1d0a 100644
--- a/svx/source/core/graphichelper.cxx
+++ b/svx/source/core/graphichelper.cxx
@@ -33,6 +33,8 @@
#include <sfx2/docfile.hxx>
#include <svx/xoutbmp.hxx>
#include <sfx2/filedlghelper.hxx>
+#include <svx/dialmgr.hxx>
+#include <svx/dialogs.hrc>
#include <com/sun/star/ui/dialogs/XFilePicker.hpp>
#include <com/sun/star/ui/dialogs/XFilterManager.hpp>
@@ -85,10 +87,8 @@ String GraphicHelper::ExportGraphic( const Graphic &rGraphic, const String &rGrf
// fish out the graphic's name
String aName = rGrfName;
- printf("Name: %s\n", aName.GetBuffer());
- //aDlgHelper.SetTitle( SW_RESSTR(STR_EXPORT_GRAFIK_TITLE));
- aDlgHelper.SetTitle( String("Title") );
+ aDlgHelper.SetTitle( SVX_RESSTR(RID_SVXSTR_EXPORT_GRAPHIC_TITLE));
aDlgHelper.SetDisplayDirectory( aPath.GetMainURL(INetURLObject::DECODE_TO_IURI) );
INetURLObject aURL;
aURL.SetSmartURL( aName );