diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-06-18 10:37:01 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-06-18 11:43:19 +0300 |
commit | dc3d621411a1de2ec6b61da07741bdf1c80ffc1f (patch) | |
tree | 71c1eef613e033f05baac4bd8304a91691eda955 /include | |
parent | 0aa10c0b3d5794cd5b701b57de2387eee12076b6 (diff) |
Assertions should tell the line number where the problem is
Let's not hide the assert() in a function whose sole purpose is to
call assert().
Change-Id: I7a8a04aad560b0f22398daabf12d00bbe58e89f1
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index bbf0711dbb61..279cb1eeaa47 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -613,7 +613,7 @@ protected: SAL_DLLPRIVATE void drawOutDevDirect ( const OutputDevice* pSrcDev, SalTwoRect& rPosAry ); - SAL_DLLPRIVATE void assert_if_double_buffered_window() const; + SAL_DLLPRIVATE bool is_double_buffered_window() const; private: |