diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2012-04-18 01:00:08 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-04-19 12:21:32 +0200 |
commit | a763ef3c0cfdb1fd04528a393a44be508314072b (patch) | |
tree | 4288fe3001e79672cb8c21c4936f93cf3a30dee9 | |
parent | d77b839868491d2d97081be9592e7860fcdea063 (diff) |
fdo#48473 Missing translation of local String constant
Consolidated two occurences of the same string into macro
(to prevent them to diverge again)
-rw-r--r-- | svx/source/svdraw/svdview.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index 18237cec052d..ecfd6f4da7c0 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -1167,12 +1167,13 @@ Pointer SdrView::GetPreferedPointer(const Point& rMousePos, const OutputDevice* return Pointer(POINTER_ARROW); } +#define STR_NOTHING "nothing" XubString SdrView::GetStatusText() { XubString aStr; XubString aName; - aStr.AppendAscii("nothing"); + aStr.AppendAscii(STR_NOTHING); if (pAktCreate!=NULL) { @@ -1267,7 +1268,7 @@ XubString SdrView::GetStatusText() #endif } - if(aStr.EqualsAscii("nix")) + if(aStr.EqualsAscii(STR_NOTHING)) { if (AreObjectsMarked()) { ImpTakeDescriptionStr(STR_ViewMarked,aStr); |