summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorJan Kantert <jan-lo@kantert.net>2014-06-12 10:13:22 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-06-12 13:13:47 +0000
commit3c19e4a3b29b044ed01c9d4b64cd0def883f83d1 (patch)
tree9a2e77aafab0a52aaa612ccf91d4a692a674c504 /sw/source/uibase
parentcoverity#735840 Unchecked dynamic_cast (diff)
downloadcore-3c19e4a3b29b044ed01c9d4b64cd0def883f83d1.tar.gz
core-3c19e4a3b29b044ed01c9d4b64cd0def883f83d1.zip
translate comments in uibase
Change-Id: I1a187426ae41b9398c062f3c4998363b073e80f1 Reviewed-on: https://gerrit.libreoffice.org/9744 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/dochdl/swdtflvr.cxx2
-rw-r--r--sw/source/uibase/inc/uitool.hxx2
-rw-r--r--sw/source/uibase/uiview/view.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx
index 1ada1505814c..2b7124fc0cdd 100644
--- a/sw/source/uibase/dochdl/swdtflvr.cxx
+++ b/sw/source/uibase/dochdl/swdtflvr.cxx
@@ -416,7 +416,7 @@ bool SwTransferable::GetData( const DataFlavor& rFlavor )
// the fallback and just try to get a graphic
const bool bPending(pWrtShell->BasicActionPend());
- // SEL_GRF kommt vom ContentType der editsh
+ // SEL_GRF is from ContentType of editsh
if(bPending || ((nsSelectionType::SEL_GRF | nsSelectionType::SEL_DRW_FORM) & nSelectionType))
{
pClpGraphic = new Graphic;
diff --git a/sw/source/uibase/inc/uitool.hxx b/sw/source/uibase/inc/uitool.hxx
index 3680cb0e56fe..1bfc6c81d5db 100644
--- a/sw/source/uibase/inc/uitool.hxx
+++ b/sw/source/uibase/inc/uitool.hxx
@@ -88,7 +88,7 @@ void SetDfltMetric(FieldUnit eMetric, bool bWeb);
SW_DLLPUBLIC bool HasCharUnit( bool bWeb );
void SetApplyCharUnit(bool bApplyChar, bool bWeb);
-// ListBox mit allen Zeichenvorlagen fuellen - ausser Standard!
+// fill ListBox with all char style templates, except the standard ones
SW_DLLPUBLIC void FillCharStyleListBox(ListBox& rToFill, SwDocShell* pDocSh, bool bSorted = false, bool bWithDefault = false);
//inserts a string sorted into a ListBox,
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx
index 7ab26cf1cb82..37060cc43eb7 100644
--- a/sw/source/uibase/uiview/view.cxx
+++ b/sw/source/uibase/uiview/view.cxx
@@ -1033,9 +1033,9 @@ SwView::~SwView()
m_pPostItMgr = 0;
m_bInDtor = true;
- m_pEditWin->Hide(); // damit kein Paint Aerger machen kann!
- // An der SwDocShell den Pointer auf die View ruecksetzen
+ m_pEditWin->Hide(); // prevent problems with painting
+ // Set pointer in SwDocShell to the view again
SwDocShell* pDocSh = GetDocShell();
if( pDocSh && pDocSh->GetView() == this )
pDocSh->SetView( 0 );