[PATCH] unnecessary createFromAscii in svx

Ricardo Montania (via Code Review) gerrit at gerrit.libreoffice.org
Wed Feb 27 08:38:40 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2446

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/46/2446/1

unnecessary createFromAscii in svx

Change-Id: If13c0f526b7b95fff71e273834997b0bfc658235
---
M svx/source/dialog/svxruler.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx
index 117642e..85a47d9 100644
--- a/svx/source/dialog/svxruler.cxx
+++ b/svx/source/dialog/svxruler.cxx
@@ -166,7 +166,7 @@
             pParent = pParent->GetParent();
         pDebugWindow = new RulerDebugWindow(pParent);
     }
-    OUString sContent( OUString::createFromAscii(pDescription) );
+    OUString sContent(pDescription);
     sContent += rText;
     sal_uInt16 nPos = pDebugWindow->GetLBox().InsertEntry(sContent);
     pDebugWindow->GetLBox().SelectEntryPos(nPos);

-- 
To view, visit https://gerrit.libreoffice.org/2446
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If13c0f526b7b95fff71e273834997b0bfc658235
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Ricardo Montania <ricardo at linuxafundo.com.br>



More information about the LibreOffice mailing list