[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sw/source

Pavel Janík paveljanik at apache.org
Sun Aug 25 11:11:34 PDT 2013


 sw/source/ui/docvw/edtwin.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit acad1fbe75ca9e534ed1001cd7aa930e57e22048
Author: Pavel Janík <paveljanik at apache.org>
Date:   Sun Aug 25 17:52:02 2013 +0000

    WaE: Remove unused variables to prevent compiler warnings.

diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index e51cf48..7c3e8dc 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -2276,8 +2276,6 @@ KEYINPUT_CHECKTABLE_INSDEL:
                 if(pFieldmark)
                 {
                     pFieldmark->SetChecked(!pFieldmark->IsChecked());
-                    SwDocShell* pDocSh = rView.GetDocShell();
-                    SwDoc *pDoc=pDocSh->GetDoc();
                     OSL_ENSURE(pFieldmark->IsExpanded(),
                         "where is the otherpos?");
                     if (pFieldmark->IsExpanded())


More information about the Libreoffice-commits mailing list