[PATCH] make use of pOutWin, which is member of ImpEditView class.

navin patidar (via Code Review) gerrit at gerrit.libreoffice.org
Wed Apr 24 01:21:06 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3592

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/92/3592/1

make use of pOutWin, which is member of ImpEditView class.

Change-Id: I78218572abe06f189eb20ba341c4de3aced8df61
---
M editeng/source/editeng/impedit.cxx
1 file changed, 2 insertions(+), 4 deletions(-)



diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 7525db9..a8a0508 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -318,11 +318,9 @@
         }
         else
         {
-            Window* pWindow = dynamic_cast< Window* >(_pTarget);
-
-            if(pWindow)
+            if(pOutWin)
             {
-                pWindow->Invert( aRect );
+                pOutWin->Invert( aRect );
             }
             else
             {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I78218572abe06f189eb20ba341c4de3aced8df61
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: navin patidar <patidar at kacst.edu.sa>



More information about the LibreOffice mailing list