summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2015-04-21 10:49:49 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2015-04-21 10:56:56 +0200
commit502a700877f6ed10d81f541de35e53f9f1508b3c (patch)
tree370b729c73cf8c9036f2cdf9657fdae41c9e914f /sd
parent6609de8856519e0e9ec8456ca0969004a8214346 (diff)
Related tdf#88056: Placeholder needed for ODF export/import
Change-Id: I8f232f5bf90401ec3ab4362eb8cc80e0c8d58717
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/app/sdmod2.cxx2
-rw-r--r--sd/source/ui/app/strings.src5
-rw-r--r--sd/source/ui/inc/strings.hrc1
3 files changed, 8 insertions, 0 deletions
diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx
index a5faccb38f89..5d36c8f6b7dd 100644
--- a/sd/source/ui/app/sdmod2.cxx
+++ b/sd/source/ui/app/sdmod2.cxx
@@ -268,6 +268,8 @@ IMPL_LINK(SdModule, CalcFieldValueHdl, EditFieldInfo*, pInfo)
{
aRepresentation = pPage->GetName();
}
+ else
+ aRepresentation = SdResId(STR_FIELD_PLACEHOLDER_PAGETITLE).toString();
pInfo->SetRepresentation( aRepresentation );
}
diff --git a/sd/source/ui/app/strings.src b/sd/source/ui/app/strings.src
index 4743c4500c98..2f31991605dd 100644
--- a/sd/source/ui/app/strings.src
+++ b/sd/source/ui/app/strings.src
@@ -1076,6 +1076,11 @@ String STR_FIELD_PLACEHOLDER_COUNT
Text [ en-US ] = "<count>" ;
};
+String STR_FIELD_PLACEHOLDER_PAGETITLE
+{
+ Text [ en-US ] = "<title>" ;
+};
+
String STR_PLACEHOLDER_DESCRIPTION_NOTES
{
Text [ en-US ] = "Notes Area";
diff --git a/sd/source/ui/inc/strings.hrc b/sd/source/ui/inc/strings.hrc
index bbc6a4573210..f713b83bb30b 100644
--- a/sd/source/ui/inc/strings.hrc
+++ b/sd/source/ui/inc/strings.hrc
@@ -372,6 +372,7 @@
#define STR_UNDO_HANGULHANJACONVERSION (RID_APP_START+696)
#define STR_FIELD_PLACEHOLDER_COUNT (RID_APP_START+697)
+#define STR_FIELD_PLACEHOLDER_PAGETITLE (RID_APP_START+698)
#define STR_LEFT_PANE_DRAW_TITLE (RID_APP_START+700)
#define STR_LEFT_PANE_IMPRESS_TITLE (RID_APP_START+701)