summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-10-02 11:16:47 +0200
committerTomaž Vajngerl <quikee@gmail.com>2019-10-02 14:35:58 +0200
commitd10feea38e0770db56237be16236f7ea9f9712fa (patch)
treed137c510bdf930cb57d6951bc53da5f10ebd6ad2
parenta20b4e63c74329200bd85b42c57c831fbafca88f (diff)
tdf#126959 fix mistake in table row/column resizing
A mistake when merging from master. Change-Id: Ia0b06523b6055c99d08a20a5c9a01eaae628ea3e Reviewed-on: https://gerrit.libreoffice.org/80013 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r--svx/source/table/tablecontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index bd77eb18e360..caf0d321fc41 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -1457,7 +1457,7 @@ void SvxTableController::changeTableEdge(const SfxRequest& rReq)
const sal_Int32 nOffset = convertTwipToMm100(pOffset->GetValue());
SdrTableObj* pTableObj = dynamic_cast<SdrTableObj*>(mxTableObj.get());
- if (pTableObj)
+ if (!pTableObj)
return;
sal_Int32 nEdgeIndex = -1;