[PATCH] fdo#48473 Missing translation of local String constant

Regina Henschel rb.henschel at t-online.de
Tue Apr 17 16:00:08 PDT 2012


---
 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 18237ce..81a81f5 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -1172,7 +1172,8 @@ XubString SdrView::GetStatusText()
     XubString aStr;
     XubString aName;
 
-    aStr.AppendAscii("nothing");
+    #define STR_NOTHING "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);
-- 
1.7.5.1


--------------090808050906010201050909--


More information about the LibreOffice mailing list